“So now, revere the LORD. Serve him honestly and faithfully. Put aside the gods that your ancestors served beyond the Euphrates and in Egypt and serve the LORD. But if it seems wrong in your opinion to serve the LORD, then choose today whom you will serve. Choose the gods whom your ancestors served beyond the Euphrates or the gods of the Amorites in whose land you live. But my family and I will serve the LORD."
Then the people answered, "God forbid that we ever leave the LORD to serve other gods! The LORD is our God. He is the one who brought us and our ancestors up from the land of Egypt, from the house of bondage. He has done these mighty signs in our sight. He has protected us the whole way we’ve gone and in all the nations through which we’ve passed. The LORD has driven out all the nations before us, including the Amorites who lived in the land. We too will serve the LORD, because he is our God."
Then Joshua said to the people, "You can’t serve the LORD, because he is a holy God. He is a jealous God. He won’t forgive your rebellion and your sins. If you leave the LORD and serve foreign gods, then he will turn around and do you harm and finish you off, in spite of having done you good in the past."
Then the people said to Joshua, "No! The LORD is the one we will serve."
So Joshua said to the people, "You are witnesses against yourselves that you have chosen to serve the LORD."
They said, "We are witnesses!"
"So now put aside the foreign gods that are among you. Focus your hearts on the LORD, the God of Israel."
The people said to Joshua, "We will serve the LORD our God and will obey him."
On that day Joshua made a covenant for the people and established just rule for them at Shechem. Joshua wrote these words in God’s Instruction scroll. Then he took a large stone and put it up there under the oak in the sanctuary of the LORD.