For the director of music. To the tune of “The Death of the Son.” A psalm of David.

1 abI will give thanks to you, LORD, with all my heart; I will tell of all your wonderful deeds.
2 I will be glad and rejoice in you; I will sing the praises of your name, O Most High.
3 My enemies turn back; they stumble and perish before you.
4 For you have upheld my right and my cause, sitting enthroned as the righteous judge.
5 You have rebuked the nations and destroyed the wicked; you have blotted out their name for ever and ever.
6 Endless ruin has overtaken my enemies, you have uprooted their cities; even the memory of them has perished.
7 The LORD reigns forever; he has established his throne for judgment.