Then Abram left that place and traveled to the mountains east of Bethel. Abram set up his tent there. The city of Bethel was to the west. The city of Ai was to the east. At that place Abram built another altar to the Lord. And Abram worshiped the Lord there.
All of the soldiers that were with Joshua marched to Ai. They stopped in front of the city. The army made its camp north of the city. There was a valley between the army and Ai.
So Joshua had prepared his men for the fight. The main camp was north of the city. The other men were hiding to the west. That night Joshua went down into the valley.