Joshua 24:20-27

24:20 If you abandon the Lord and worship foreign gods, he will turn against you; he will bring disaster on you and destroy you, though he once treated you well.”

24:21 The people said to Joshua, “No! We really will worship the Lord!” 24:22 Joshua said to the people, “Do you agree to be witnesses against yourselves that you have chosen to worship the Lord?” They replied, “We are witnesses!” 24:23 Joshua said, “Now put aside the foreign gods that are among you and submit to the Lord God of Israel.”

24:24 The people said to Joshua, “We will worship the Lord our God and obey him.”

24:25 That day Joshua drew up an agreement for the people, and he established rules and regulations for them in Shechem. 24:26 Joshua wrote these words in the Law Scroll of God. He then took a large stone and set it up there under the oak tree near the Lord’s shrine. 24:27 Joshua said to all the people, “Look, this stone will be a witness against you, for it has heard everything the Lord said to us. It will be a witness against you if you deny your God.”