And they had set the people, all the army that [was] on the north of the city, and its rear guard on the west of the city, and Joshua went that night into the midst of the valley.