14“Now then,” Joshua continued, “honour the LORD and serve him sincerely and faithfully. Get rid of the gods which your ancestors used to worship in Mesopotamia and in Egypt, and serve only the LORD. 15If you are not willing to serve him, decide today whom you will serve, the gods your ancestors worshipped in Mesopotamia or the gods of the Amorites, in whose land you are now living. As for my family and me, we will serve the LORD.”
16The people replied, “We would never leave the LORD to serve other gods! 17The LORD our God brought our fathers and us out of slavery in Egypt, and we saw the miracles that he performed. He kept us safe wherever we went among all the nations through which we passed. 18As we advanced into this land, the LORD drove out all the Amorites who lived here. So we also will serve the LORD; he is our God.”
19Joshua said to the people, “But you may not be able to serve the LORD. He is a holy God and will not forgive your sins. He will tolerate no rivals, 20and if you leave him to serve foreign gods, he will turn against you and punish you. He will destroy you, even though he was good to you before.”
21The people said to Joshua, “No! We will serve the LORD.”
22Joshua said to them, “You are your own witnesses to the fact that you have chosen to serve the LORD.”
“Yes,” they said, “we are witnesses.”
23“Then get rid of those foreign gods that you have,” he demanded, “and pledge your loyalty to the LORD, the God of Israel.”
24The people then said to Joshua, “We will serve the LORD our God. We will obey his commands.”
25So Joshua made a covenant for the people that day, and there at Shechem he gave them laws and rules to follow.