Numbers 33:50-56

Divine instruction about the land

50 The LORD spoke to Moses on the plains of Moab by the Jordan across from Jericho:
51 Speak to the Israelites and say to them: When you cross the Jordan into the land of Canaan,
52 you will drive out all the inhabitants of the land before you. You will destroy all their carved figures. You will also destroy all their cast images. You will eliminate all their shrines.
53 You will take possession of the land and live in it, because I've given the land to you to possess.
54 You will divide up the land by lot according to your clans. To the large you will make its inheritance large, and to the small you will make its inheritance small. To whomever the lot falls, that place will be his. You will inherit land according to your ancestral tribes.
55 But if you don't drive out the inhabitants of the land before you, then those you allow to remain will prick your eyes and be thorns in your side. They will harass you in the land in which you are living.
56 Then what I intended to do to them, I'll do to you.