Numbers 33:52-56

ISV(i) 52 they are to drive out all the inhabitants of the land and destroy all their idols and their molten images. You are to demolish all their high places, 53 take possession of the land, and live in it, because I’ve given you the land to inherit. 54 You are to divide the land among yourselves by lot according to your families. The larger the families are in number, the larger their inheritance is to be. The fewer the families are in number, the lesser their inheritance is to be. To whomever the lot falls, that inheritance goes to him. Divide it according to your ancestral tribes. 55 But if you fail to drive out the inhabitants of the land before you, their survivors will become irritants in your eyes and thorns in your sides, to prick your sides and afflict you in the very land in which you’ll be living. 56 Then, what I had planned to do to them, I’ll start to do to you.”