19 Joshua 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,
20 and 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.”
21 The people said to Joshua, “No! We will serve the Lord.”
22 Joshua 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.”
24 The people then said to Joshua, “We will serve the Lord our God. We will obey his commands.”
25 So Joshua made a covenant for the people that day, and there at Shechem he gave them laws and rules to follow.