The Lord threw the enemy into disorder in front of Israel and defeated them decisively at Gibeon. He chased them along the road that goes to the slope of Beth Horon and continued to defeat them all the way to Azekah and Makkedah.
This is the territory for the families descended from Ephraim. The eastern border of the land they inherited is from Ataroth Addar to Upper Beth Horon.