All the fighting men who were with him went up and drew near before the city and camped north of Ai; there was a valley between him and Ai.