(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 Psalm and Song at the dedication of the house of David.
1 I will extol thee, O LORD; for thou hast lifted me up, and hast not made my foes to rejoice over me.
2 O LORD my God, I cried unto thee, and thou hast healed me.
3 O LORD, thou hast brought up my soul from the grave: thou hast kept me alive, that I should not go down to the pit.
4 Sing unto the LORD, O ye saints of his, and give thanks at the remembrance of his holiness.
5 For his anger endureth but a moment; in his favour is life: weeping may endure for a night, but joy cometh in the morning.

6 And in my prosperity I said, I shall never be moved.
7 LORD, by thy favour thou hast made my mountain to stand strong: thou didst hide thy face, and I was troubled.
8 I cried to thee, O LORD; and unto the LORD I made supplication.
9 What profit is there in my blood, when I go down to the pit? Shall the dust praise thee? shall it declare thy truth?
10 Hear, O LORD, and have mercy upon me: LORD, be thou my helper.
11 Thou hast turned for me my mourning into dancing: thou hast put off my sackcloth, and girded me with gladness;
12 To the end that my glory may sing praise to thee, and not be silent. O LORD my God, I will give thanks unto thee for ever.