Numbers 33:50-56 - Instructions For Occupying Canaan
50 And Jehovah spake unto Moses in the plains of Moab by the Jordan at Jericho, saying, 51 Speak unto the children of Israel, and say unto them, When ye pass over the Jordan into the land of Canaan, 52 then ye shall drive out all the inhabitants of the land from before you, and destroy all their figured'stones , and destroy all their molten images, and demolish all their high places: 53 and ye shall take possession of the land, and dwell therein; for unto you have I given the land to possess it. 54 And ye shall inherit the land by lot according to your families; to the more ye shall give the more inheritance, and to the fewer thou shalt give the less inheritance: wheresoever the lot falleth to any man, that shall be his; according to the tribes of your fathers shall ye inherit. 55 But if ye will not drive out the inhabitants of the land from before you, then shall those that ye let remain of them be as pricks in your eyes, and as thorns in your sides, and they shall vex you in the land wherein ye dwell. 56 And it shall come to pass, that, as I thought to do unto them, so will I do unto you.