1 And the Lord said vnto Ioshua, Feare not, neither be thou dismaid: take all the people of warre with thee, and arise, goe vp to Ai: See, I haue giuen into thy hand the king of Ai, and his people, and his citie, and his land.
2 And thou shalt doe to Ai and her king, as thou diddest vnto Iericho and her king: Onely the spoile thereof and the cattell thereof shall ye take for a pray vnto your selues: lay thee an ambush for the citie, behind it.
3 ¶ So Ioshua arose, and all the people of warre, to goe vp against Ai: and Ioshua chose out thirtie thousand mighty men of valour, and sent them away by night:
4 And he commanded them, saying, Behold, ye shall lie in wait against the citie, euen behind the citie: goe not very farre from the citie, but be ye all ready:
5 And I, and all the people that are with mee, will approch vnto the citie: and it shall come to passe when they come out against vs, as at the first, that we will flee before them,
6 (For they will come out after vs) till we haue drawen them from the citie; for they will say, They flee before vs, as at the first: therefore we will flee before them.
7 Then yee shall rise vp from the ambush, and seise vpon the citie: for the Lord your God will deliuer it into your hand.
8 And it shall be when yee haue taken the citie, that ye shall set the citie on fire: according to the commandement of the Lord shall ye do. See, I haue commanded you.
9 ¶ Ioshua therefore sent them foorth, and they went to lie in ambush, and abode betweene Bethel and Ai, on the West side of Ai: but Ioshua lodged that night among the people.
10 And Ioshua rose vp early in the morning, and numbred the people, and went vp; he, and the Elders of Israel, before the people to Ai.
11 And all the people, euen the people of warre that were with him, went vp, and drew nigh, and came before the city, and pitched on the North side of Ai: now there was a valley betweene them and Ai.
12 And he tooke about fiue thousand men, and set them to lye in ambush betweene Bethel and Ai, on the West side of the citie.
13 And when they had set the people, euen all the hoste that was on the North of the city, and their liers in wait on the West of the citie: Ioshua went that night into the midst of the valley.
14 ¶ And it came to passe when the King of Ai saw it, that they hasted, and rose vp early, and the men of the citie went out against Israel to battell, hee, and all his people, at a time appointed, before the plaine, but hee wist not that there were liers in ambush against him behind the city.
15 And Ioshua and all Israel made as if they were beaten before them, and fled by the way of the wildernesse.
16 And all the people that were in Ai, were called together to pursue after them: and they pursued after Ioshua, and were drawen away from the city.
17 And there was not a man left in Ai or Bethel, that went not out after Israel: and they left the citie open, and pursued after Israel.
18 And the Lord said vnto Ioshua, Stretch out the speare that is in thy hand, toward Ai; for I will giue it into thine hand. And Ioshua stretched out the speare that hee had in his hand, toward the city.
19 And the ambush arose quickly out of their place, and they ranne as soone as he had stretched out his hand: and they entred into the city, and tooke it, and hasted, and set the citie on fire.
20 And when the men of Ai looked behind them, they saw, and behold, the smoke of the city ascended vp to heauen, and they had no power to flee this way or that way: and the people that fled to the wildernesse, turned backe vpon the pursuers.
21 And when Ioshua and all Israel saw that the ambush had taken the city, and that the smoke of the city ascended, then they turned againe and slew the men of Ai.
22 And the other issued out of the citie against them, so they were in the midst of Israel; some on this side, and some on that side, and they smote them; so that they let none of them remaine or escape.
23 And the King of Ai they tooke aliue, and brought him to Ioshua.
24 And it came to passe when Israel had made an end of slaying all the inhabitants of Ai, in the field, in the wildernesse wherein they chased them, and when they were all fallen on the edge of the sword, vntill they were consumed, that all the Israelites returned vnto Ai, and smote it with the edge of the sword.
25 And so it was that all that fell that day, both of men and women, were twelue thousand, euen all the men of Ai.
26 For Ioshua drew not his hand backe wherewith hee stretched out the speare, vntill he had vtterly destroyed all the inhabitants of Ai.
27 Onely the cattell, and the spoile of that city Israel tooke for a pray vnto themselues, according vnto the word of the Lord, which he commaunded Ioshua.
28 And Ioshua burnt Ai, and made it an heape for euer, euen a desolation vnto this day.
29 And the king of Ai he hanged on a tree vntil euentide: and assoone as the sunne was downe, Ioshua commaunded that they should take his carkeise downe from the tree, and cast it at the entring of the gate of the citie, and raise thereon a great heape of stones that remaineth vnto this day.
All scripture is given by inspiration of God and is profitable for doctrine, reproof, correction, and instruction in righteousness (2 Timothy 3:16).