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.
Matthew Henry's Commentary on 2 Samuel 17:24-27
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