Updated: Nov 18, 2021
David wrote this psalm for the dedication of the temple that would ultimately be built after his death. The temple was God in the midst of his people. After mankind sinned God withdrew his visible daily presence to heaven. God had appeared as a Theophany in the garden to Adam/Eve, some type of apparition that they could relate to. God started working on the restoration of that relationship with the tabernacle- a small version of Eden. God has demonstrated his mercy as we see in verse five he says: "anger is but for a moment and his favor is for a lifetime." No matter your sins our failures in life God stands ready to love you and forgive you.
A psalm. A song. For the dedication of the temple.[b] Of David.
1 I will exalt you, Lord, for you lifted me out of the depths and did not let my enemies gloat over me. 2 Lord my God, I called to you for help, and you healed me. 3 You, Lord, brought me up from the realm of the dead; you spared me from going down to the pit.
4 Sing the praises of the Lord, you his faithful people; praise his holy name. 5 For his anger lasts only a moment, but his favor lasts a lifetime; weeping may stay for the night, but rejoicing comes in the morning.
6 When I felt secure, I said, “I will never be shaken.” 7 Lord, when you favored me, you made my royal mountain[c] stand firm; but when you hid your face, I was dismayed.
8 To you, Lord, I called; to the Lord I cried for mercy: 9 “What is gained if I am silenced, if I go down to the pit? Will the dust praise you? Will it proclaim your faithfulness? 10 Hear, Lord, and be merciful to me; Lord, be my help.”
11 You turned my wailing into dancing; you removed my sackcloth and clothed me with joy, 12 that my heart may sing your praises and not be silent. Lord my God, I will praise you forever.