So Joshua sent them out; and they went to the place of ambush, and lay between Bethel and Ai, to the west of Ai; but Joshua spent that night in the camp.
From there he moved on to the hill country on the east of Bethel, and pitched his tent, with Bethel on the west and Ai on the east; and there he built an altar to the Lord and invoked the name of the Lord.
Joshua sent men from Jericho to Ai, which is near Beth-aven, east of Bethel, and said to them, “Go up and spy out the land.” And the men went up and spied out Ai.