Joshua 24:11-25 Revised Standard Version (RSV)
11 And you went over the Jordan and came to Jericho, and the men of Jericho fought against you, and also the Amorites, the Per′izzites, the Canaanites, the Hittites, the Gir′gashites, the Hivites, and the Jeb′usites; and I gave them into your hand. 12 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. 13 I gave you a land on which you had not labored, and cities which you had not built, and you dwell therein; you eat the fruit of vineyards and oliveyards which you did not plant.’
14 “Now therefore fear the Lord, and serve him in sincerity and in faithfulness; put away the gods which your fathers served beyond the River, and in Egypt, and serve the Lord. 15 And if you be unwilling 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.”
16 Then the people answered, “Far be it from us that we should forsake the Lord, to serve other gods; 17 for it is the Lord our God who brought us and our fathers up from the land of Egypt, out of the house of bondage, 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; 18 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.”
19 But Joshua said to the people, “You cannot serve the Lord; for he is a holy God; he is a jealous God; he will not forgive your transgressions or your sins. 20 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.” 21 And the people said to Joshua, “Nay; but we will serve the Lord.” 22 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.” 23 He said, “Then put away the foreign gods which are among you, and incline your heart to the Lord, the God of Israel.” 24 And the people said to Joshua, “The Lord our God we will serve, and his voice we will obey.” 25 So Joshua made a covenant with the people that day, and made statutes and ordinances for them at Shechem.