The northern border started at the Jordan River. It went along the northern edge of Jericho. Then the border went west into the hill country. It continued until it was just east of Beth Aven.
So the people of Benjamin saw that they were defeated. The army of Israel had moved back because they were depending on the surprise attack. They had men hiding near Gibeah.
This is the land that the family of Joseph received. This land started at the Jordan River near Jericho and continued to the waters of Jericho. (This was just east of Jericho.) The border went up from Jericho to the hill country of Bethel.
Later, the king of Ai saw the army of Israel. The king and his people hurried out to fight the army of Israel. The king of Ai went out the east side of the city toward the Jordan Valley, so he did not see the soldiers hiding behind the city.
So the army of Benjamin ran away from the army of Israel. They ran toward the desert. But they could not escape the fighting. And the men of Israel came out of the cities and killed them.