Joshua 24:15

24:15 If you have no desire to worship the Lord, choose today whom you will worship, whether it be the gods whom your ancestors worshiped beyond the Euphrates, or the gods of the Amorites in whose land you are living. But I and my family will worship the Lord!”

Joshua 24:19-20

24:19 Joshua warned the people, “You will not keep worshiping the Lord, for he is a holy God. He is a jealous God who will not forgive your rebellion or your sins. 24:20 If you abandon the Lord and worship foreign gods, he will turn against you; he will bring disaster on you and destroy you, though he once treated you well.”