From there he continued on to a mountain to the east of Bethel and pitched his tent, having Bethel on the west and Ai on the east. There he built an altar to the Lord and called on the name of the Lord.
The allotment of land for the descendants of Joseph was from the Jordan by Jericho then east into the wilderness, rising from Jericho to the hill country of Bethel.
and all the villages that were around these cities as far as Baalath Beer, Ramah of the Negev. This was the inheritance of the tribe of Simeon according to their clans.
Joshua sent men from Jericho to Ai (which is near Beth-aven, east of Bethel) and said to them, “Go up and spy on the land.” So the men went up and spied on Ai.
So Joshua sent them out. They went to the place of ambush and took up a position between Bethel and Ai, westward of Ai, and Joshua spent the night among the people.