E phraim didn’t drive out the Canaanites who lived in Gezer, but the Canaanites lived in Gezer among them.
Neither did Ephraim drive out the Canaanites that dwelt in Gezer; but the Canaanites dwelt in Gezer among them.