So Joshua sent them forth, and they went to the place of ambush and remained between Bethel and Ai, on the west side of Ai; but Joshua lodged that night among the people.
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. So the men went up and spied out Ai.
From there he pulled up [his tent pegs] and departed to the mountain 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 called upon the name of the Lord.