Joshua 24:21-25 Holman Christian Standard Bible (HCSB)

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.”

24. So the people said to Joshua, “We will worship the Lord our God and obey Him.”

25. On that day Joshua made a covenant for the people at Shechem and established a statute and ordinance for them.

Joshua 24