There were Canaanites living in Gezer. And the Ephraimites did not make all the Canaanites leave their land. So they continued to live in Gezer with the Ephraimites.