The land determined by lot for the people of Joseph went out from the Jordan near Jericho eastward to the waters of Jericho. It went up by the desert from Jericho to the Bethel highlands.
References for Joshua 16:1
It goes from Bethel to Luz and passes on to the border of the Archites at Ataroth.
It goes down westward to the border of the Japhletites as far as the border of Lower Beth-horon and as far as Gezer. It ends at the sea.
The people of Joseph, Manasseh and Ephraim, received their legacy.
This was the territory for the clans of the people of Ephraim. The border of their legacy ran from Ataroth-adar on the east as far as Upper Beth-horon.
The border goes to the sea. Michmethath is on the north. The border turns east of Taanath-shiloh and passes along beyond it east of Janoah.
It goes down from Janoah to Ataroth and to Naarah, touches Jericho, and goes to the Jordan.
From Tappuah the border goes westward by the Kanah Valley. It ends at the sea. This is the legacy for the clans of the Ephraimite tribe.
It included cities set apart for the people of Ephraim within the legacy of the people of Manasseh, all the cities and their surrounding areas.
But they didn't remove the Canaanites who lived in Gezer. So today the Canaanites, who were used for forced labor, still live within Ephraim.