So they set the people, even all the army who was on the north of the city, and their ambush on the west of the city; and Yehoshua went that night into the midst of the valley.
It happened, when the king of `Ai saw it, that they hurried and rose up early, and the men of the city went out against Yisra'el to battle, he and all his people, at the time appointed, before the `Aravah; but he didn't know that there was an ambush against him behind the city.
It shall be, when you have seized on the city, that you shall set the city on fire; according to the word of the LORD shall you do: behold, I have commanded you.