17 For the Lord our God brought us and our fathers out of the land of Egypt, out of the place of slavery, and performed these great signs before our eyes. He also protected us all along the way we went and among all the peoples whose lands we traveled through.
18 The Lord drove out before us all the peoples, including the Amorites who lived in the land. We too will worship the Lord, because He is our God.”
19 But Joshua told the people, “You will not be able to worship Yahweh, because He is a holy God. He is a jealous God; He will not remove your transgressions and sins.
20 If you abandon the Lord and worship foreign gods, He will turn against you, harm you, and completely destroy you, after He has been good to you.”
21 “No! ” the people answered Joshua. “We will worship the Lord.”
22 Joshua then told the people, “You are witnesses against yourselves that you yourselves have chosen to worship Yahweh.”“We are witnesses,” they said.
23 “Then get rid of the foreign gods that are among you and offer your hearts to the Lord, the God of Israel.”