Joshua 23:15-16-NIV
But just as all the good things the Lord your God has promised you have come to you, so he will bring on you all the evil things he has threatened, until the Lord your God has destroyed you from this good land he has given you. If you violate the covenant of the Lord your God, which he commanded you, and go and serve other gods and bow down to them, the Lord's anger will burn against you, and you will quickly perish from the good land he has given you.