A psalm of David, sung at the dedication of the Temple. I will praise you, LORD, for you have rescued me. You refused to let my enemies triumph over me.
O LORD my God, I cried out to you for help, and you restored my health.
You brought me up from the grave, O LORD. You kept me from falling into the pit of death.
Sing to the LORD, all you godly ones! Praise his holy name.
His anger lasts for a moment, but his favor lasts a lifetime! Weeping may go on all night, but joy comes with the morning.
When I was prosperous I said, "Nothing can stop me now!"
Your favor, O LORD, made me as secure as a mountain. Then you turned away from me, and I was shattered.
I cried out to you, O LORD. I begged the Lord for mercy, saying,
"What will you gain if I die, if I sink down into the grave? Can my dust praise you from the grave? Can it tell the world of your faithfulness?
Hear me, LORD, and have mercy on me. Help me, O LORD."
You have turned my mourning into joyful dancing. You have taken away my clothes of mourning and clothed me with joy,
that I might sing praises to you and not be silent. O LORD my God, I will give you thanks forever!