A Psalm. A song for the dedication of the temple. Of David. I will exalt You, O LORD, for You have lifted me up and have not allowed my foes to rejoice over me.
PSALM 30. David having been delivered from great danger, not only renders thanks to God apart by himself, but at the same time invites and exhorts all the pious to perform the same duty. He then confesses that he had flattered himself too confidently in his prosperity, and that his security had justly been chastised. In the third place, having briefly expressed his sorrow, he returns again to thanksgiving.
Commenting on Psalm 30:1-12
I will extol thee. I will have high and honourable conceptions of thee, and give them utterance in my best music. Others may forget thee, murmur at thee, despise thee, blaspheme thee, but "I will extol thee, "for I have been favoured above all others.
It was the laudable practice of the pious Jews, and, though not expressly appointed, yet allowed and accepted, when they had built a new house, to dedicate it to God, Deu 20:5. David did so when his house was built, and he took possession of it (Sa2 5:11); for royal palaces do as much need God's protection, and are as much bound to be at his service, as ordinary houses.
Commenting on Psalm 30:1-5