David counts his people at Mahanaim and appoints commanders of thousands and hundreds. He divides the army into three parts under Joab, Abishai and Ittai, and says that he himself will go out with them, but the people forbid it: he is worth ten thousand of them and it is better that he stay in the city to help from there. The king agrees and, in the hearing of all, orders the three captains to deal gently with the young man Absalom for his sake.
The battle is fought in the forest of Ephraim. The men of Israel are defeated by David's servants, and twenty thousand fall, and the forest devours more people than the sword. Absalom, riding his mule, passes under the branches of a great oak and his head is caught; the mule goes on and he is left hanging between heaven and earth. A man sees him and tells Joab, who rebukes him for not striking Absalom down and says he would have given him ten pieces of silver and a belt. The man answers that he would not lay a hand on the king's son even for a thousand pieces of silver, for everyone heard the king's command. Joab takes three spears and thrusts them into Absalom's heart, and ten young armor-bearers surround and finish him. Joab blows the trumpet and halts the pursuit. They throw Absalom's body into a great pit in the forest and raise over it a great heap of stones.
Ahimaaz asks to run with the news, but Joab sends a Cushite; Ahimaaz insists and arrives first. David, sitting between the two gates, hears that all is well, but about Absalom Ahimaaz says he does not know. The Cushite arrives and announces that the king's enemies have been avenged. David asks about Absalom, and the Cushite answers that the king's enemies share that young man's fate. David goes up to the chamber over the gate, weeps and says: O my son Absalom, my son, my son Absalom! Would I had died instead of you!