And the Lord said to Joshua, Fear not, nor be timorous: take with thee all the men of war, and arise, go up to Gai; behold, I have given into thy hands the king of Gai, and his land.
And thou shalt do to Gai, 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 Gai; 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.
Land I and all with me will draw near to the city: and it shall come to pass when the inhabitants of Gai 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 Baethel and Gai, westward of Gai.
And Joshua rose up early in the morning, and numbered the people; and he went up, he and the elders before the people to Gai.
And all the men of war went up with him, and they went forward and came over against the city eastward.
And the ambuscade on the west side of the city.
And it came to pass when the king of Gai saw , he hasted and went out to meet them direct to the battle, he and all the people with him: and he knew not that there was an ambuscade 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 Gai 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 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 hasted and burnt the city with fire.
And when the inhabitants of Gai 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 Gai.
And these came forth out of the city to meet them; and they were in the midst of the army, some 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 Gai alive, and brought him to Joshua.
And when the children of Israel had ceased slaying all that were in Gai, and in the fields, and in the mountain on the descent, from whence they pursued them to the end, then Joshua returned to Gai, and smote it with the edge of the sword.
And they that fell in that day, men and women, were twelve thousand: all the inhabitants of Gai.
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 burnt the city with fire: he made it an uninhabited heap for ever, to this day.
And he hanged the king of Gai 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.
Then Joshua built an altar to the Lord God of Israel in mount Gaebal,
as Moses the servant of the Lord commanded the children of Israel, as it is written in the law of Moses, an altar of unhewn stones, on which iron had not been lifted up; and he offered there whole-burnt-offerings to the Lord, and a peace-offering.
And Joshua wrote upon the stones a copy of the law, even the law of Moses, before the children of Israel.
And all Israel, and their elders, and their judges, and their scribes, passed on one side and on the other before the ark; and the priests and the Levites took up the ark of the covenant of the Lord; and the stranger and the native were there, who were half of them near mount Garizin, and half near mount Gaebal, as Moses the servant of the Lord commanded at first, to bless the people.
And afterwards Joshua read accordingly all the words of this law, the blessings and the curses, according to all things written in the law of Moses.
There was not a word of all that Moses charged Joshua, which Joshua read not in the ears of all the assembly of the children of Israel, the men, and the women, and the children, and the strangers that joined themselves to Israel.