All the people of war with him went up, advanced, and came in front of the city. They camped to the north of Ai, with a valley between him and Ai.