2 Samuel 17:24-2 Samuel 18:8 - War Between David And Absalom
24 Later, David arrived at Mahanaim. Absalom and all of the Israelis who supported him crossed the Jordan River. 25 Absalom had installed Amasa in place of Joab over the army. (Amasa was the son of a man named Jether the Ishmaelite. His mother was Abigail, a daughter of Nahash and a sister of Zeruiah, Joab's mother.) 26 Absalom and the Israelis with him camped in the territory of Gilead. 27 When David arrived at Mahanaim, Shobi (Nahash's son from the Ammonite town of Rabbah), Makir (Ammiel's son from Lo-debar), and Barzillai (from Rogelim in Gilead) were already there. 28 They brought along bedding, bowls, clay basins, wheat, barley, flour, roasted grains, beans, peas, 29 honey, cheeses, sheep, and cheese made from cow's milk for David and his entourage because they had been reasoning, "The people are hungry, tired, and thirsty there in the wilderness."
1 David mustered his forces and appointed officers in charge of regiments and companies. 2 Dividing his forces into three groups, he set Joab as commander of one third of his army, Zeruiah's son Abishai, Joab's brother, as commander of another third, and Ittai from Gath as commander of another third. The king informed the army, "I'm going out to battle with you, too."
3 "No way!" his army responded. "If we have to retreat from the battle, Absalom's men won't care about us. Even if half of us die, they won't care about us. But you are worth 10,000 of us. The best thing you can do for us is to remain in the city."
4 So David responded, "I'll do what you think best." Then he stood alongside the city gate as the army went out in battle array by hundreds and thousands. 5 As they were going out, the king ordered Joab, Abishai, and Ittai, "Treat young Absalom gently for my sake." Everyone heard what the king had ordered his commanders about Absalom.
6 David's army left for the battlefield to fight Absalom and his Israeli followers, and they also fought in the Ephraim forest, 7 where David's army of servants defeated the Israelis. Many died that day 20,000 men. 8 The battle spread throughout the entire countryside, and the forest claimed more casualties that day than did the sword fighting.