14 And Absalom and all the men of Israel said, The counsel of Hushai the Archite is better than the counsel of Ahithophel. And Jehovah had appointed to defeat the good counsel of Ahithophel, in order that Jehovah might bring evil upon Absalom.
15 And Hushai said to Zadok and to Abiathar the priests, Thus and thus did Ahithophel counsel Absalom and the elders of Israel; and thus and thus have I counselled. 16 And now send quickly, and tell David saying, Lodge not this night in the plains of the wilderness, but speedily pass over; lest the king be swallowed up, and all the people that are with him. 17 And Jonathan and Ahimaaz stayed by En-rogel; and the maid went and told them; and they went and told king David, for they might not be seen to come into the city. 18 But a lad saw them, and told Absalom. Then they went both of them away quickly, and came to the house of a man at Bahurim, who had a well in his court; and they went down there. 19 And the woman took and spread the covering over the well's mouth, and spread ground corn on it; and the thing was not known. 20 And Absalom's servants came to the woman to the house, and said, Where are Ahimaaz and Jonathan? And the woman said to them, They have gone over the brook of water. And they sought and could not find [them], and returned to Jerusalem. 21 And it came to pass after they had departed, that they came up out of the well, and went and told king David; and they said to David, Arise and pass quickly over the water; for thus has Ahithophel counselled against you.
22 Then David arose, and all the people that were with him, and they passed over the Jordan; by the morning light there was not one of them missing that had not gone over the Jordan. 23 And when Ahithophel saw that his counsel was not followed, he saddled his ass, and arose and went to his house, to his city, and gave charge to his household, and hanged himself, and he died; and he was buried in the sepulchre of his father.
Matthew Henry's Commentary on 2 Samuel 17:14-23
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