Joshua 24:19-24

ISV(i) 19 So Joshua told the people, “You will not be able to serve the LORD, because he is a God of Holiness. He is a jealous God, and he will forgive neither your transgressions nor your sins. 20 If you abandon the LORD and serve foreign deities, then he will turn and do you harm, consuming you after all the good he has done for you.”
21 “No,” the people replied to Joshua. “We will serve the LORD.”
22 Joshua responded, “You are giving testimony against yourselves, that you have chosen to serve the LORD.”
They replied, “We are witnesses!”
23 Joshua said, “Therefore abandon the foreign gods that are among you, and turn your hearts to the LORD, the God of Israel.”
24 The people replied, “We will serve the LORD our God and obey his voice.”