Then he left that place and traveled to the mountains east of Bethel. He set up his tent there. Bethel was to the west, and Ai was to the east. Abram built another altar at that place to honor the Lord, and he worshiped the Lord there.
All the soldiers who 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.