Joshua 23:13
23:13 know for certain that the Lord our God will no longer drive out these nations from before you. They will trap and ensnare you; they will be a whip that tears your sides and thorns that blind your eyes until you disappear from this good land the Lord your God gave you.
Joshua 23:15
23:15 But in the same way every faithful promise the Lord your God made to you has been realized, it is just as certain, if you disobey, that the Lord will bring on you every judgment until he destroys you from this good land which the Lord your God gave you.