All of the soldiers who were with Joshua marched to Ai. They stopped in front of the city and made camp north of Ai. There was a valley between them and the city.