Joshua 23:15-16 Amplified Bible (AMP)

15. But just as all good things which the Lord promised you have come to you, so will the Lord carry out [His] every [warning of] evil upon you, until He has destroyed you from off this good land which the Lord your God has given you.

16. If you transgress the covenant of the Lord your God, which He commanded you, if you serve other gods and bow down to them, then the anger of the Lord will be kindled against you, and you shall perish quickly from off the good land He has given you.

Joshua 23