And you went over the Jordan and came to Jericho, and the leaders of Jericho fought against you, and also the Amorites, the Perizzites, the Canaanites, the Hittites, the Girgashites, the Hivites, and the Jebusites. And I gave them into your hand. And I sent the hornet before you, which drove them out before you, the two kings of the Amorites; it was not by your sword or by your bow. I gave you a land on which you had not labored and cities that you had not built, and you dwell in them. You eat the fruit of vineyards and olive orchards that you did not plant.’
“Now therefore fear the LORD and serve him in sincerity and in faithfulness. Put away the gods that your fathers served beyond the River and in Egypt, and serve the LORD. And if it is evil in your eyes to serve the LORD, choose this day whom you will serve, whether the gods your fathers served in the region beyond the River, or the gods of the Amorites in whose land you dwell. But as for me and my house, we will serve the LORD.”
Then the people answered, “Far be it from us that we should forsake the LORD to serve other gods, for it is the LORD our God who brought us and our fathers up from the land of Egypt, out of the house of slavery, and who did those great signs in our sight and preserved us in all the way that we went, and among all the peoples through whom we passed. 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.”
But Joshua said to the people, “You are not able to serve the LORD, for he is a holy God. He is a jealous God; he will not forgive your transgressions or your sins. If you forsake the LORD and serve foreign gods, then he will turn and do you harm and consume you, after having done you good.” And the people said to Joshua, “No, but we will serve the LORD.” Then Joshua said to the people, “You are witnesses against yourselves that you have chosen the LORD, to serve him.” And they said, “We are witnesses.” He said, “Then put away the foreign gods that are among you, and incline your heart to the LORD, the God of Israel.” And the people said to Joshua, “The LORD our God we will serve, and his voice we will obey.”