From there he moved to the mountain to the east of Beth-El and erected his tent (with Beth-El to the west and Ai to the east). There he built an altar to Adonai and called on the Name of Adonai.
The allotment for the children of Joseph went from the Jordan at Jericho to the waters of Jericho on the east to the wilderness, going up from Jericho through the hill country to Bethel.
all the villages that were around these towns as far as Baalath-beer, Ramah of the Negev. This is the inheritance of the tribe of the children of Simeon according to their clans.
Now Joshua sent men from Jericho to Ai, which is near Beth-aven, east of Bethel, and spoke to them saying: “Go up and spy out the land.” So the men went up and spied out Ai.
So Joshua sent them off, and they went to the ambush site, taking position between Bethel and Ai, to the west of Ai. But Joshua spent that night among the people.