Psalms 30:11–12

The psalmist thanks God for turning his mourning into dancing

11You have turned my mourning into dancing for me; you have loosed my sackcloth and girded me with gladness,

12so that my glory may sing psalms to you and not be silent. YHWH my Elohim, forever I will give you thanks.

Study it word by word

In its context

9What profit is there in my blood, in my going down to the pit? Will the dust give you thanks? Will it declare your truth?

10Hear, YHWH, and show me favor; YHWH, be my helper.

…

Read all of Psalms 30

Its words in the original

Joy and thanks