Numbers 33:50-56 - Instructions For Occupying Canaan
50 And the LORD spake unto Moses in the fields of Moab by Jordan nigh unto Jericho, saying, 51 "Speak unto the children of Israel and say unto them, 'When ye are come over Jordan into the land of Canaan, 52 see that ye drive out all the inhabiters of the land before you, and destroy their imaginations and all their images of metal, and pluck down all their altars built on hills: 53 And possess the land and dwell therein, for I have given you the land to enjoy it. 54 And ye shall divide the inheritance of the land by lot among your kindreds, and give to the more the more inheritance, and to the fewer the less inheritance. And your inheritance shall be in the tribes of your fathers, in the place where every man's lot falleth. 55 But and if ye will not drive out the inhabiters of the land before you, then those which ye let remain of them, shall be thorns in your eyes and darts in your sides, and shall vex you in the land wherein ye dwell. 56 Moreover it will come to pass, that I shall do unto you as I thought to do unto them.'"