15 Then Hushai said to the priests Zadok and Abiathar, "Thus and so did Ahithophel counsel Absalom and the elders of Israel; and thus and so I have counseled. 16 Therefore send quickly and tell David, "Do not lodge tonight at the fords of the wilderness, but by all means cross over; otherwise the king and all the people who are with him will be swallowed up.' " 17 Jonathan and Ahimaaz were waiting at En-rogel; a servant-girl used to go and tell them, and they would go and tell King David; for they could not risk being seen entering the city. 18 But a boy saw them, and told Absalom; so both of them went away quickly, and came to the house of a man at Bahurim, who had a well in his courtyard; and they went down into it. 19 The man's wife took a covering, stretched it over the well's mouth, and spread out grain on it; and nothing was known of it. 20 When Absalom's servants came to the woman at the house, they said, "Where are Ahimaaz and Jonathan?" The woman said to them, "They have crossed over the brook of water." And when they had searched and could not find them, they returned to Jerusalem. 21 After they had gone, the men came up out of the well, and went and told King David. They said to David, "Go and cross the water quickly; for thus and so has Ahithophel counseled against you."

22 So David and all the people who were with him set out and crossed the Jordan; by daybreak not one was left who had not crossed the Jordan. 23 When Ahithophel saw that his counsel was not followed, he saddled his donkey and went off home to his own city. He set his house in order, and hanged himself; he died and was buried in the tomb of his father. 24 Then David came to Mahanaim, while Absalom crossed the Jordan with all the men of Israel. 25 Now Absalom had set Amasa over the army in the place of Joab. Amasa was the son of a man named Ithra the Ishmaelite, who had married Abigal daughter of Nahash, sister of Zeruiah, Joab's mother. 26 The Israelites and Absalom encamped in the land of Gilead. 27 When David came to Mahanaim, Shobi son of Nahash from Rabbah of the Ammonites, and Machir son of Ammiel from Lo-debar, and Barzillai the Gileadite from Rogelim, 28 brought beds, basins, and earthen vessels, wheat, barley, meal, parched grain, beans and lentils, 29 honey and curds, sheep, and cheese from the herd, for David and the people with him to eat; for they said, "The troops are hungry and weary and thirsty in the wilderness."

Matthew Henry's Commentary on 2 Samuel 17:15-29

Commentary on 2 Samuel 17:1-21

(Read 2 Samuel 17:1-21)

Here was a wonderful effect of Divine Providence blinding Absalom's mind and influencing his heart, that he could not rest in Ahithophel's counsel, and that he should desire Hushai's advice. But there is no contending with that God who can arm a man against himself, and destroy him by his own mistakes and passions. Ahithophel's former counsel was followed, for God intended to correct David; but his latter counsel was not followed, for God meant not to destroy him. He can overrule all counsels. Whatever wisdom or help any man employs or affords, the success is from God alone, who will not let his people perish.

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