The LORD spoke to Moses on the plains of Moab by the Jordan across from Jericho:
Speak to the Israelites and say to them: When you cross the Jordan into the land of Canaan,
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.
You will take possession of the land and live in it, because I've given the land to you to possess.
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.
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.
Then what I intended to do to them, I'll do to you.