When Balak son of Zippor, the king of Moab, prepared to fight against Israel, he sent for Balaam son of Beor to put a curse on you.
But I would not listen to Balaam, so he blessed you again and again, and I delivered you out of his hand.
“ ‘Then you crossed the Jordan and came to Jericho. The citizens of Jericho fought against you, as did also the Amorites, Perizzites, Canaanites, Hittites, Girgashites, Hivites and Jebusites, but I gave them into your hands.
I sent the hornet ahead of you, which drove them out before you—also the two Amorite kings. You did not do it with your own sword and bow.
So I gave you a land on which you did not toil and cities you did not build; and you live in them and eat from vineyards and olive groves that you did not plant.’
“Now fear the LORD and serve him with all faithfulness. Throw away the gods your ancestors worshiped beyond the Euphrates River and in Egypt, and serve the LORD.
But if serving the LORD seems undesirable to you, then choose for yourselves this day whom you will serve, whether the gods your ancestors served beyond the Euphrates, or the gods of the Amorites, in whose land you are living. But as for me and my household, we will serve the LORD.”
Then the people answered, “Far be it from us to forsake the LORD to serve other gods!
It was the LORD our God himself who brought us and our parents up out of Egypt, from that land of slavery, and performed those great signs before our eyes. He protected us on our entire journey and among all the nations through which we traveled.
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.”
Joshua said to the people, “You are not able to serve the LORD. He is a holy God; he is a jealous God. He will not forgive your rebellion and your sins.