And when they had set the people, even all the host that was on the north of the city, and those lying in wait on the west of the city, Joshua went that night into the midst of the valley.
And it came to pass, when the king of Ai saw it, that they hurried and rose up early, and the men of the city went out against Israel to battle, he and all his people, at a time appointed, before the plain; but he knew not that there was an ambush against him behind the city.
And it shall be, when you have taken the city, that you shall set the city on fire: according to the commandment of the LORD shall you do. See, I have commanded you.