(A psalm by David for the dedication of the temple.)
A Prayer of Thanks
1 I will praise you, Lord!
You saved me from the grave
and kept my enemies
from celebrating my death.
2 I prayed to you, Lord God,
and you healed me,
3 saving me from death
and the grave.

4 Your faithful people, Lord,
will praise you with songs
and honor your holy name.
5 Your anger lasts a little while,
but your kindness lasts
for a lifetime.
At night we may cry,
but when morning comes
we will celebrate.

6 I felt secure and thought,
“I'll never be shaken!”
7 You, Lord, were my friend,
and you made me strong
as a mighty mountain.
But when you hid your face,
I was crushed.

8 I prayed to you, Lord,
and in my prayer I said,
9 “What good will it do you
if I am in the grave?
Once I have turned to dust,
how can I praise you
or tell how loyal you are?
10 Have pity, Lord! Help!”

11 You have turned my sorrow
into joyful dancing.
No longer am I sad
and wearing sackcloth.
12 I thank you from my heart,
and I will never stop
singing your praises,
my Lord and my God.
A Prayer of Thanksgiving
1 I praise you, Lord, because you have saved me
and kept my enemies from gloating over me.
2 I cried to you for help, O Lord my God,
and you healed me;
3 you kept me from the grave.
I was on my way to the depths below,
but you restored my life.

4 Sing praise to the Lord,
all his faithful people!
Remember what the Holy One has done,
and give him thanks!
5 His anger lasts only a moment,
his goodness for a lifetime.
Tears may flow in the night,
but joy comes in the morning.

6 I felt secure and said to myself,
“I will never be defeated.”
7 You were good to me, Lord;
you protected me like a mountain fortress.
But then you hid yourself from me,
and I was afraid.

8 I called to you, Lord;
I begged for your help:
9 “What will you gain from my death?
What profit from my going to the grave?
Are dead people able to praise you?
Can they proclaim your unfailing goodness?
10 Hear me, Lord, and be merciful!
Help me, Lord!”

11 You have changed my sadness into a joyful dance;
you have taken away my sorrow
and surrounded me with joy.
12 So I will not be silent;
I will sing praise to you.
Lord, you are my God;
I will give you thanks forever.