He drove out nations before them; he apportioned them for a possession and settled the tribes of Israel in their tents.