24 Zadok was also there, the Levites with him, carrying God's Chest of the Covenant. They set the Chest of God down, Abiathar standing by, until all the people had evacuated the city. 25 Then the king ordered Zadok, "Take the Chest back to the city. If I get back in God's good graces, he'll bring me back and show me where the Chest has been set down. 26 But if he says, 'I'm not pleased with you' - well, he can then do with me whatever he pleases." 27 The king directed Zadok the priest, "Here's the plan: Return to the city peacefully, with Ahimaaz your son and Jonathan, Abiathar's son, with you. 28 I'll wait at a spot in the wilderness across the river, until I get word from you telling us what's up." 29 So Zadok and Abiathar took the Chest of God back to Jerusalem and placed it there, 30 while David went up the Mount of Olives weeping, head covered but barefooted, and the whole army was with him, heads covered and weeping as they ascended.

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

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.