23 When Ahithophel realized that his counsel was not followed, he saddled his donkey and left for his hometown. After making out his will and putting his house in order, he hanged himself and died. He was buried in the family tomb. 24 About the time David arrived at Mahanaim, Absalom crossed the Jordan, and the whole army of Israel with him. 25 Absalom had made Amasa head of the army, replacing Joab. (Amasa was the son of a man named Ithra, an Ishmaelite who had married Abigail, daughter of Nahash and sister of Zeruiah, the mother of Joab.) 26 Israel and Absalom set camp in Gilead. 27 When David arrived at Mahanaim, Shobi son of Nahash from Ammonite Rabbah, and Makir son of Ammiel from Lo Debar, and Barzillai the Gileadite from Rogelim 28 brought beds and blankets, bowls and jugs filled with wheat, barley, flour, roasted grain, beans and lentils, 29 honey, and curds and cheese from the flocks and herds. They presented all this to David and his army to eat, "because," they said, "the army must be starved and exhausted and thirsty out in this wilderness."
Matthew Henry's Commentary on 2 Samuel 17:23-29
Commentary on 2 Samuel 17:22-29
(Read 2 Samuel 17:22-29)
Ahithophel hanged himself for vexation that his counsel was not followed. That will break a proud man's heart which will not break a humble man's sleep. He thought himself in danger, concluding, that, because his counsel was not followed, Absalom's cause would fail; and to prevent a possible public execution, he does justice upon himself. Thus the breath is stopped, and the head laid low, from which nothing could be expected but mischief. Absalom chased his father. But observe how God sometimes makes up to his people that comfort from strangers, which they are disappointed of in their own families. Our King needs not our help; but he assures us, that what we do for the least of his brethren, who are sick, poor, and destitute, shall be accepted and recompensed as if done to himself