The main army were thus stationed to the north of the town, with the ambush laid to the west. Joshua passed that night in the middle of the valley.