A psalm. A song. For the dedication of the temple. Of David. I will exalt you, O LORD, for you lifted me out of the depths and did not let my enemies gloat over me.
O LORD my God, I called to you for help and you healed me.
O LORD, you brought me up from the grave; you spared me from going down into the pit.
Sing to the LORD, you saints of his; praise his holy name.
For his anger lasts only a moment, but his favor lasts a lifetime; weeping may remain for a night, but rejoicing comes in the morning.
When I felt secure, I said, "I will never be shaken."
O LORD, when you favored me, you made my mountain stand firm; but when you hid your face, I was dismayed.
To you, O LORD, I called; to the Lord I cried for mercy:
"What gain is there in my destruction, in my going down into the pit? Will the dust praise you? Will it proclaim your faithfulness?
Hear, O LORD, and be merciful to me; O LORD, be my help."
You turned my wailing into dancing; you removed my sackcloth and clothed me with joy,
that my heart may sing to you and not be silent. O LORD my God, I will give you thanks forever.