David mustered the men who were with him and appointed over them commanders of thousands and commanders of hundreds. David sent out his troops, a third under the command of Joab, a third under Joab’s brother Abishai son of Zeruiah, and a third under Ittai the Gittite. The king told the troops, “I myself will surely march out with you.”
But the men said, “You must not go out; if we are forced to flee, they won’t care about us. Even if half of us die, they won’t care; but you are worth ten thousand of us. It would be better now for you to give us support from the city.”
The king answered, “I will do whatever seems best to you.”
So the king stood beside the gate while all his men marched out in units of hundreds and of thousands. The king commanded Joab, Abishai and Ittai, “Be gentle with the young man Absalom for my sake.” And all the troops heard the king giving orders concerning Absalom to each of the commanders.
David’s army marched out of the city to fight Israel, and the battle took place in the forest of Ephraim. There Israel’s troops were routed by David’s men, and the casualties that day were great—twenty thousand men. The battle spread out over the whole countryside, and the forest swallowed up more men that day than the sword.
Now Absalom happened to meet David’s men. He was riding his mule, and as the mule went under the thick branches of a large oak, Absalom’s hair got caught in the tree. He was left hanging in midair, while the mule he was riding kept on going.
When one of the men saw what had happened, he told Joab, “I just saw Absalom hanging in an oak tree.”
Joab said to the man who had told him this, “What! You saw him? Why didn’t you strike him to the ground right there? Then I would have had to give you ten shekels of silver and a warrior’s belt.”
But the man replied, “Even if a thousand shekels were weighed out into my hands, I would not lay a hand on the king’s son. In our hearing the king commanded you and Abishai and Ittai, ‘Protect the young man Absalom for my sake.’ And if I had put my life in jeopardy—and nothing is hidden from the king—you would have kept your distance from me.”
Joab said, “I’m not going to wait like this for you.” So he took three javelins in his hand and plunged them into Absalom’s heart while Absalom was still alive in the oak tree. And ten of Joab’s armor-bearers surrounded Absalom, struck him and killed him.
Then Joab sounded the trumpet, and the troops stopped pursuing Israel, for Joab halted them. They took Absalom, threw him into a big pit in the forest and piled up a large heap of rocks over him. Meanwhile, all the Israelites fled to their homes.
During his lifetime Absalom had taken a pillar and erected it in the King’s Valley as a monument to himself, for he thought, “I have no son to carry on the memory of my name.” He named the pillar after himself, and it is called Absalom’s Monument to this day.