Joshua 24:14-28 CSB
“Therefore, fear the LORD and worship him in sincerity and truth. Get rid of the gods your ancestors worshiped beyond the Euphrates River and in Egypt, and worship the LORD. 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? As for me and my family, we will worship the LORD.” The people replied, “We will certainly not abandon the LORD to worship other gods! For the LORD our God brought us and our ancestors out of the land of Egypt, out of the place of slavery, 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. 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.” 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; he will not forgive your transgressions and sins. If you abandon the LORD and worship foreign gods, he will turn against you, harm you, and completely destroy you, after he has been good to you.” “No!” the people answered Joshua. “We will worship the LORD.” Joshua then told the people, “You are witnesses against yourselves that you yourselves have chosen to worship the LORD.” “We are witnesses,” they said. “Then get rid of the foreign gods that are among you and turn your hearts to the LORD, the God of Israel.” So the people said to Joshua, “We will worship the LORD our God and obey him.” On that day Joshua made a covenant for the people at Shechem and established a statute and ordinance for them. Joshua recorded these things in the book of the law of God; he also took a large stone and set it up there under the oak at the sanctuary of the LORD. And Joshua said to all the people, “You see this stone — it will be a witness against us, for it has heard all the words the LORD said to us, and it will be a witness against you, so that you will not deny your God.” Then Joshua sent the people away, each to his own inheritance.