Joshua 24:14–24
14 “Therefore, fear the Lord and worship him in sincerity and truth.u Get rid of the gods your ancestors worshipedv beyond the Euphrates River and in Egypt, and worship the Lord. 15 But if it doesn’t please you to worship the Lord, choose for yourselves today: Which will you worship—the gods your ancestors worshiped beyond the Euphrates River or the gods of the Amorites in whose land you are living?w As for me and my family, we will worship the Lord.”
16 The people replied, “We will certainly not abandon the Lord to worship other gods! 17 For the Lord our God brought us and our ancestors out of the land of Egypt, out of the place of slavery,x and performed these great signs before our eyes. He also protected us all along the way we went and among all the peoples whose lands we traveled through. 18 The Lord drove out before us all the peoples, including the Amorites who lived in the land. We too will worship the Lord, because he is our God.”
19 But Joshua told the people, “You will not be able to worship the Lord, because he is a holy God. He is a jealous God;y he will not forgive your transgressions and sins.z 20 If you abandon the Lord and worship foreign gods, he will turn against you, harm you, and completely destroyaa you, after he has been good to you.”
21 “No!” the people answered Joshua. “We will worship the Lord.”
22 Joshua then told the people, “You are witnesses against yourselves that you yourselves have chosen to worship the Lord.”
“We are witnesses,” they said.
23 “Then get rid of the foreign gods that are among you and turn your hearts to the Lord, the God of Israel.”
24 So the people said to Joshua, “We will worship the Lord our God and obey him.”