In these verses we have, 1. David praying. Prayer is a salve for every sore, and a relief to the spirit under every burden. 2. David weeping. Griefs are thus, in some measure, lessened, while those increase that have no vent given them. David in great alarm. We may well suppose him to be so, upon the breaking out of Absalom's conspiracy, and the falling away of the people. Horror overwhelmed him. Probably the remembrance of his sin in the matter of Uriah added much to the terror. When under a guilty conscience we must mourn in our complaint, and even strong believers have for a time been filled with horror. But none ever was so overwhelmed as the holy Jesus, when it pleased the Lord to put him to grief, and to make his soul an offering for our sins. In his agony he prayed more earnestly, and was heard and delivered; trusting in him, and following him, we shall be supported under, and carried through all trials. See how David was weary of the treachery and ingratitude of men, and the cares and disappointments of his high station: he longed to hide himself in some desert from the fury and fickleness of his people. He aimed not at victory, but rest; a barren wilderness, so that he might be quiet. The wisest and best of men most earnestly covet peace and quietness, and the more when vexed and wearied with noise and clamour. This makes death desirable to a child of God, that it is a final escape from all the storms and tempests of this world, to perfect and everlasting rest.