24:14 “Now obey the Lord and worship him with integrity and loyalty. Put aside the gods your ancestors worshiped beyond the Euphrates and in Egypt, and worship the Lord. 15 If you have no desire to worship the Lord, then choose today whom you will worship, whether it be the gods whom your ancestors worshiped beyond the Euphrates or the gods of the Amorites in whose land you are living. But I and my family will worship the Lord.”
16 The people responded, “Far be it from us to abandon the Lord so we can worship other gods! 17 For the Lord our God took us and our fathers out of slavery in the land of Egypt and performed these awesome miracles before our very eyes. He continually protected us as we traveled and when we passed through nations. 18 The Lord drove out from before us all the nations, including the Amorites who lived in the land. So we too will worship the Lord, for he is our God!”
19 Joshua warned the people, “You will not keep worshiping the Lord, for he is a holy God. He is a jealous God who will not forgive your rebellion or your sins. 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.”
21 The people said to Joshua, “No! We really will worship the Lord.” 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!” 23 Joshua said, “Now put aside the foreign gods that are among you and submit to the Lord God of Israel.”
24 The people said to Joshua, “We will worship the Lord our God and obey him.”
25 That day Joshua drew up an agreement for the people, and he established rules and regulations for them in Shechem. 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 sanctuary. 27 Joshua said to all the people, “Look, this stone will be a witness against us, for it has heard everything the Lord said to us. It will be a witness against you if you deny your God.” 28 When Joshua dismissed the people, they went to their allotted portions of land.