Joshua 23:16
If you do not obey the covenant Jehovah your God commanded you to obey and if you serve and worship other gods, then in his anger he will punish you. Soon none of you will be left in this good land that he gave you.
Deuteronomy 4:25-26
When you have children, and grandchildren, and you have remained in the land a long time do not corrupt yourselves. If you make a graven image, or the likeness of any thing, and do evil in the sight of Jehovah your God, you will provoke him to anger:
2 Kings 24:20
This happened in Jerusalem and Judah because of Jehovah's anger. It continued until he had sent them all away from before him. Then Zedekiah took up arms and rebelled against the king of Babylon.