And the Lord spoke to Moses in the Jordan valley. When you have crossed the Jordan into the land of Canaan you shall drive all the residents before you and destroy all of their idols and cast images. Destroy all of their offering hills. You shall take the land and dwell in it. You shall divide it by lot among all your tribes. He who is large shall receive a large inheritance and he who is small shall receive a small one. Whichever falls to their lot, that shall they have. You shall divide it according to the tribes of your fathers. When you do not drive the residents of this land before you and let them survive they are to become thorns in your eyes and spikes in your sides and plague you. So it will happen that I will do to you what I had thought to do to them.