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.
Early the next morning Joshua gathered his men together. He and the older leaders of Israel led them up to Ai.
Then Joshua chose about five thousand men and set them in ambush in the area west of the city between Bethel and Ai.