13. Joshua went that night into the midst of the valley--The deep and steep-sided glen to the north of Tell-el-hajar, into which one looks down from the tell, fully agrees with this account [VAN DE VELDE]. Joshua himself took up his position on the north side of "the ravine"--the deep chasm of the wady El-Murogede; "that night"--means, while it was dark, probably after midnight, or very early in the morning (Joh 20:1). The king of Ai, in the early dawn, rouses his slumbering subjects and makes a hasty sally with all his people who were capable of bearing arms, once more to surprise and annihilate them.
JFB.
Picture Study Bible