Numbers 33:55-56

55 But if you don't drive out the inhabitants of the land before you, those you allow to remain will become thorns in your eyes and in your sides; they will harass you in the land where you will live.
56 And what I had planned to do to them, I will do to you."a