He cast out the heathen also before them, and divided them an inheritance by line, and made the tribes of Israel to dwell in their tents.