Joshua.
Chapter 8.
And the Lord said to Joshua, Fear not, nor be timorous: take with thee all the men of war, and arise, go up to Ai; behold, I have given into thy hands the king of Ai, and his land. 
And thou shalt do to Ai, as thou didst to Jericho and its king; and thou shalt take to thyself the spoil of its cattle; set now for thyself an ambush for the city behind. 
And Joshua and all the men of war rose to go up to Ai; and Joshua chose out thirty thousand mighty men, and he sent them away by night. 
And he charged them, saying, Do ye lie in ambush behind the city: do not go far from the city, and ye shall all be ready. 
And I and all with me will draw near to the city: and it shall come to pass when the inhabitants of Ai shall come forth to meet us, as before, that we will flee from before them. 
And when they shall come out after us, we will draw them away from the city; and they will say, These men flee from before us, as also before. 
And ye shall rise up out of the ambuscade, and go into the city. 
Ye shall do according to this word, lo! I have commanded you. 
And Joshua sent them, and they went to lie in ambush; and they lay between Bethel and Ai, westward of Ai. 
And Joshua rose up early in the morning, and numbered the people; and he went up, he and the elders before the people to Ai. 
And all the men of war went up with him, and they went forward and came over against the city eastward. 
And the ambuscade was on the west side of the city. 
And it came to pass when the king of Ai saw it, he hastened and went out to meet them direct to the battle, he and all the people that were with him: and he knew not that there was an ambuscade formed against him behind the city. 
And Joshua and Israel saw, and retreated from before them. 
And they pursued after the children of Israel, and they themselves went to a distance from the city. 
There was no one left in Ai who did not pursue after Israel; and they left the city open, and pursued after Israel. 
And the Lord said to Joshua, Stretch forth thy hand with the spear that is in thy hand toward the city, for I have delivered it into thy hands; and the liers in wait shall rise up quickly out of their place. 
And Joshua stretched out his hand and his spear toward the city, and the ambuscade rose up quickly out of their place; and they came forth when he stretched out his hand; and they entered into the city, and took it; and they hastened and burned the city with fire. 
And when the inhabitants of Ai looked round behind them, then they saw the smoke going up out of the city to heaven, and they were no longer able to flee this way or that way. 
And Joshua and all Israel saw that the ambuscade had taken the city, and that the smoke of the city went up to heaven; and they turned and smote the men of Ai. 
And these came forth out of the city to meet them; and they were in the midst of the army, some being on this side, and some on that; and they smote them until there was not left of them one who survived and escaped. 
And they took the king of Ai alive, and brought him to Joshua. 
And when the children of Israel had ceased slaying all that were in Ai, and in the fields, and in the mountain on the descent, from whence they pursued them even to the end, then Joshua returned to Ai, and smote it with the edge of the sword. 
And they that fell in that day, men and women, were twelve thousand: they slew all the inhabitants of Ai. 
Beside the spoils that were in the city, all things which the children of Israel took as spoil for themselves according to the command of the Lord, as the Lord commanded Joshua. 
And Joshua burned the city with fire: he made it an uninhabited heap forever, even to this day. 
And he hanged the king of Ai on a gallows; and he remained on the tree till evening: and when the sun went down, Joshua gave charge, and they took down his body from the tree, and cast it into a pit, and they set over him a heap of stones until this day. 
