And all the people of war who [were] with him went up, and drew near, and they came before the city and camped on the north side of Ai, and the valley [was] between them and between Ai.