Numbers 15:14

15:14 If a resident foreigner is living with you – or whoever is among you in future generations – and prepares an offering made by fire as a pleasing aroma to the Lord, he must do it the same way you are to do it.

Numbers 33:55

33:55 But if you do not drive out the inhabitants of the land before you, then those whom you allow to remain will be irritants in your eyes and thorns in your side, and will cause you trouble in the land where you will be living.