III. In due time God delivered him out of his troubles and restored him to his former prosperity. His prayers were answered and his mourning was turned into dancing, v. 11. God's anger now endured but for a moment, and David's weeping but for a night. The sackcloth with which, in a humble compliance with the divine Providence, he had clad himself, was loosed; his griefs were balanced; his fears were silenced; his comforts returned; and he was girded with gladness: joy was made his ornament, was made his strength, and seemed to cleave to him, as the girdle cleaves to the loins of a man. As David's plunge into trouble from the height of prosperity, and then when he least expected it, teaches us to rejoice as though we rejoiced not, because we know not how near trouble may be, so his sudden return to a prosperous condition teaches us to weep as though we wept not, because we know not how soon the storm may become a calm and the formidable blast may become a favourable gale. But what temper of mind was he in upon this happy change of the face of his affairs? What does he say now? He tells us, v. 12. 1. His complaints were turned into praises. He looked upon it that God girded him with gladness to the end that he might be the sweet psalmist of Israel (2 Sam. xxiii. 1), that his glory might sing praise to God, that is, his tongue (for our tongue is our glory, and never more so than when it is employed in praising God) or his soul, for that is our glory above the beasts, that must be employed in blessing the Lord, and with that we must make melody to him in singing psalms. Those that are kept from being silent in the pit must not be silent in the land of the living, but fervent, and constant, and public, in praising God. 2. These praises were likely to be everlasting: I will give thanks unto thee for ever. This bespeaks a gracious resolution that he would persevere to the end in praising God and a gracious hope that he should never want fresh matter for praise and that he should shortly be where this would be the everlasting work. Blessed are those that dwell in God's house; they will be still praising him. Thus must we learn to accommodate ourselves to the various providences of God that concern us, to want and to abound, to sing of mercy and judgment, and to sing unto God for both.