31 When someone told David that his adviser Ahithophel was now backing Absalom, David prayed, "O Lord, let Ahithophel give Absalom foolish advice!" 32 When David reached the summit of the Mount of Olives where people worshiped God, Hushai the Arkite was waiting there for him. Hushai had torn his clothing and put dirt on his head as a sign of mourning. 33 But David told him, "If you go with me, you will only be a burden. 34 Return to Jerusalem and tell Absalom, 'I will now be your adviser, O king, just as I was your father's adviser in the past.' Then you can frustrate and counter Ahithophel's advice. 35 Zadok and Abiathar, the priests, will be there. Tell them about the plans being made in the king's palace, 36 and they will send their sons Ahimaaz and Jonathan to tell me what is going on." 37 So David's friend Hushai returned to Jerusalem, getting there just as Absalom arrived.

Matthew Henry's Commentary on 2 Samuel 15:31-37

Commentary on 2 Samuel 15:31-37

(Read 2 Samuel 15:31-37)

David prays not against Ahithophel's person, but against his counsel. He prayed this, in firm belief that God has all hearts in his hand, and tongues also. But we must second our prayers with endeavours, and David did so, else we tempt God. But we do not find wisdom and simplicity so united in any mere man, that we can perceive nothing which needs forgiveness. Yet, when the Son of David was treated with all possible treachery and cruelty, his wisdom, meekness, candour, and patience, were perfect. Him let us follow, cleave to, and serve, in life and in death.