Then he traveled from Shechem to the mountain east of Bethel and set up his tent there. Bethel was to the west, and Ai was to the east. There Abram built another altar to the Lord and worshiped him.
All of the soldiers who were with Joshua marched up to Ai and stopped in front of the city and made camp north of it. There was a valley between them and the city.
So the people took their positions; the main camp was north of the city, and the other men were hiding to the west. That night Joshua went down into the valley.