Joshua 24:14-28 New International Version (NIV)
14 “Now fear the Lord and serve him with all faithfulness. Throw away the godsyour ancestors worshiped beyond the Euphrates River and in Egypt, and serve theLord. 15 But if serving the Lord seems undesirable to you, then choose for yourselves this day whom you will serve, whether the gods your ancestors served beyond the Euphrates, or the gods of the Amorites, in whose land you are living. But as for me and my household, we will serve the Lord.”
16 Then the people answered, “Far be it from us to forsake the Lord to serve other gods! 17 It was the Lord our God himself who brought us and our parents up out of Egypt, from that land of slavery, and performed those great signs before our eyes. He protected us on our entire journey and among all the nations through which we traveled. 18 And the Lord drove out before us all the nations, including the Amorites, who lived in the land. We too will serve the Lord, because he is our God.”
19 Joshua said to the people, “You are not able to serve the Lord. He is a holy God; he is a jealous God. He will not forgive your rebellion and your sins. 20 If you forsake the Lord and serve foreign gods, he will turn and bring disaster on you and make an end of you, after he has been good to you.”
21 But the people said to Joshua, “No! We will serve the Lord.”
22 Then Joshua said, “You are witnesses against yourselves that you have chosento serve the Lord.”
“Yes, we are witnesses,” they replied.
23 “Now then,” said Joshua, “throw away the foreign gods that are among you and yield your hearts to the Lord, the God of Israel.”
24 And the people said to Joshua, “We will serve the Lord our God and obey him.”
25 On that day Joshua made a covenant for the people, and there at Shechem he reaffirmed for them decrees and laws. 26 And Joshua recorded these things in the Book of the Law of God. Then he took a large stone and set it up there under the oak near the holy place of the Lord.
27 “See!” he said to all the people. “This stone will be a witness against us. It has heard all the words the Lord has said to us. It will be a witness against you if you are untrue to your God.”
28 Then Joshua dismissed the people, each to their own inheritance.