24 And, lo, Zadok also [came], and all the Levites with him, bearing the ark of the covenant of God; and they set down the ark of God; and Abiathar went up, until all the people had done passing out of the city. 25 And the king said unto Zadok, Carry back the ark of God into the city: if I shall find favor in the eyes of Jehovah, he will bring me again, and show me both it, and his habitation: 26 but if he say thus, I have no delight in thee; behold, here am I, let him do to me as seemeth good unto him. 27 The king said also unto Zadok the priest, Art thou [not] a seer? return into the city in peace, and your two sons with you, Ahimaaz thy son, and Jonathan the son of Abiathar. 28 See, I will tarry at the fords of the wilderness, until there come word from you to certify me. 29 Zadok therefore and Abiathar carried the ark of God again to Jerusalem: and they abode there. 30 And David went up by the ascent of the [mount of] Olives, and wept as he went up; and he had his head covered, and went barefoot: and all the people that were with him covered every man his head, and they went up, weeping as they went up.

31 And one told David, saying, Ahithophel is among the conspirators with Absalom. And David said, O Jehovah, I pray thee, turn the counsel of Ahithophel into foolishness. 32 And it came to pass, that, when David was come to the top [of the ascent], where God was worshipped, behold, Hushai the Archite came to meet him with his coat rent, and earth upon his head. 33 And David said unto him, If thou passest on with me, then thou wilt be a burden unto me: 34 but if thou return to the city, and say unto Absalom, I will be thy servant, O king; as I have been thy father's servant in time past, so will I now be thy servant; then wilt thou defeat for me the counsel of Ahithophel. 35 And hast thou not there with thee Zadok and Abiathar the priests? therefore it shall be, that what thing soever thou shalt hear out of the king's house, thou shalt tell it to Zadok and Abiathar the priests. 36 Behold, they have there with them their two sons, Ahimaaz, Zadok's son, and Jonathan, Abiathar's son; and by them ye shall send unto me everything that ye shall hear. 37 So Hushai, David's friend, came into the city; and Absalom came into Jerusalem.

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

Commentary on 2 Samuel 15:24-30

(Read 2 Samuel 15:24-30)

David is very careful for the safety of the ark. It is right to be more concerned for the church's prosperity than our own; to prefer the success of the gospel above our own wealth, credit, ease, and safety. Observe with what satisfaction and submission David speaks of the Divine disposal. It is our interest, as well as our duty, cheerfully to acquiesce in the will of God, whatever befalls us. Let us see God's hand in all events; and that we may not be afraid of what shall be, let us see all events in God's hand. David's sin was ever before him, Psalm 38:4.

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.