When He had destroyed seven nations in the land of Canaan, He gave them their land as an inheritance by lot.