He drove out nations before them and allotted their lands to them as an inheritance; he settled the tribes of Israel in their homes.
NIV
He drove out the nations also before [Israel] and allotted their land as a heritage, measured out and partitioned; and He made the tribes of Israel to dwell in the tents of those dispossessed.
AMP
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.
KJV