Numbers 33:55

55But if you do not drive out the inhabitants of the land from before you, then those of them whom you let remain shall be as abarbs in your eyes and thorns in your sides, and they shall trouble you in the land where you dwell.

Joshua 23:13

13know for certain that bthe Lord your God will no longer drive out these nations before you, cbut they shall be a snare and a trap for you, a whip on your sides and thorns in your eyes, until you perish from off this good ground that the Lord your God has given you.

Judges 2:21

21 dI will no longer drive out before them any of the nations that Joshua left when he died,
Copyright information for ESV