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.
8 He rules the world in righteousness and judges the peoples with equity.
9 The LORD is a refuge for the oppressed, a stronghold in times of trouble.
10 Those who know your name trust in you, for you, LORD, have never forsaken those who seek you.
11 Sing the praises of the LORD, enthroned in Zion; proclaim among the nations what he has done.