They positioned all the soldiers, the main army on the north side of the city, and the rear guard on the west side of the city. Joshua spent that night in the valley.