22 So David and all the people with him went across the Jordan River during the night, and they were all on the other bank before dawn. 23 When Ahithophel realized that his advice had not been followed, he saddled his donkey, went to his hometown, set his affairs in order, and hanged himself. He died there and was buried in the family tomb. 24 David soon arrived at Mahanaim. By now, Absalom had mobilized the entire army of Israel and was leading his troops across the Jordan River. 25 Absalom had appointed Amasa as commander of his army, replacing Joab, who had been commander under David. (Amasa was Joab's cousin. His father was Jether, an Ishmaelite. His mother, Abigail daughter of Nahash, was the sister of Joab's mother, Zeruiah.) 26 Absalom and the Israelite army set up camp in the land of Gilead. 27 When David arrived at Mahanaim, he was warmly greeted by Shobi son of Nahash, who came from Rabbah of the Ammonites, and by Makir son of Ammiel from Lo-debar, and by Barzillai of Gilead from Rogelim. 28 They brought sleeping mats, cooking pots, serving bowls, wheat and barley, flour and roasted grain, beans, lentils, 29 honey, butter, sheep, goats, and cheese for David and those who were with him. For they said, "You must all be very hungry and tired and thirsty after your long march through the wilderness."
Matthew Henry's Commentary on 2 Samuel 17:22-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