Joshua 24:20 in the King James Version
If ye forsake the LORD, and serve strange gods, then he will turn and do you hurt, and consume you, after that he hath done you good.
Context
19 Joshua said to the people, “You can’t serve the LORD, for he is a holy God. He is a jealous God. He will not forgive your disobedience nor your sins.
20 If you forsake the LORD, and serve foreign gods, then he will turn and do you evil, and consume you, after he has done you good.”
21 The people said to Joshua, “No, but we will serve the LORD.”