18 And the LORD drove out before us all the nations, including the Amorites, who lived in the land. We too will serve the LORD, because he is our God.”

Read Joshua 24:18 Using Other Translations

And the LORD drave out from before us all the people, even the Amorites which dwelt in the land: therefore will we also serve the LORD; for he is our God.
And the LORD drove out before us all the peoples, the Amorites who lived in the land. Therefore we also will serve the LORD, for he is our God."
It was the LORD who drove out the Amorites and the other nations living here in the land. So we, too, will serve the LORD, for he alone is our God.”