Catholic Commentary
Closing Vow of Thanksgiving and Praise
17I will give thanks to Yahweh according to his righteousness,
Praise rooted in who God is, not in what God gives — this is the difference between thanksgiving and spiritual maturity.
In this closing vow, the psalmist pledges to give thanks to Yahweh not merely out of emotional relief, but specifically "according to his righteousness" — that is, in response to the just and faithful character of God himself. This single verse forms the liturgical seal of the entire psalm, transforming a cry for vindication into an act of worship. The psalmist's praise is theologically grounded: it rises not from circumstance alone but from the recognition that God's justice is itself the reason for gratitude.
Verse 17 — "I will give thanks to Yahweh according to his righteousness"
The Hebrew verb translated "I will give thanks" is ʾôdeh (from yādāh), which carries a rich range of meaning: to confess, to acknowledge, to praise openly. In the Psalter, yādāh consistently implies a public, even liturgical act — thanksgiving is not a private sentiment but a proclamation made before a community. The psalmist is not simply relieved; he is committing to a future act of worship that will name and declare what God has done.
The critical phrase is "according to his righteousness" (kəṣidqô). This is the hinge of the entire verse. The psalmist does not vow thanks for what God has done as though gratitude were a transaction; he vows thanks according to — that is, shaped by, measured by, corresponding to — God's own righteousness. The Hebrew ṣedeq (righteousness) here denotes God's covenant fidelity, his moral consistency, and his unswerving commitment to justice. It is not merely a legal verdict but an expression of who God is. To give thanks "according to his righteousness" means the praise itself participates in and reflects the divine character.
This verse crowns Psalm 7, a psalm of intense personal crisis. The psalmist has been falsely accused (vv. 1–2), has appealed to God as a righteous judge (vv. 3–9), contemplated the fate of the wicked who dig pits for the innocent (vv. 14–16), and now, in this closing verse, turns the lens entirely toward God. The arc of the psalm moves from lament to legal appeal to doxology — a pattern deeply embedded in Israel's prayer life. The closing todah (thanksgiving vow) is not an afterthought but the theological destination of the whole psalm: God's righteousness, invoked in petition, is now celebrated in praise.
Typological and Spiritual Senses
At the typological level, this verse anticipates the perfect thanksgiving of Christ. The Letter to the Hebrews presents Jesus as the one who, "in the days of his flesh, offered up prayers and supplications with loud cries and tears" (Heb 5:7) — the suffering righteous one of the psalms — and who, vindicated in the resurrection, offers the definitive todah to the Father. The ṣedeq of God, which the psalmist praises, finds its fullest expression in the justification won on the Cross (Rom 3:25–26), where God is shown to be both just and the one who justifies.
In the anagogical sense, this verse points toward the eternal liturgy of heaven, where the redeemed give thanks to God not according to their own merits but according to the infinite righteousness of God himself — the praise of the saints is participation in the divine life, not a human achievement.
Catholic tradition understands this verse as a microcosm of authentic worship. The Catechism of the Catholic Church teaches that "thanksgiving characterizes the prayer of the Church which, in celebrating the Eucharist, reveals and becomes more fully what she is" (CCC 2637). The very word Eucharist derives from the Greek eucharistia — thanksgiving — and the Mass is precisely a giving of thanks "according to his righteousness," since the Church's worship is always mediated through Christ, the perfectly righteous one, and offered in his name.
St. Augustine, in his Expositions on the Psalms, reads the closing praise of Psalm 7 as the voice of Christ in his members: "The whole Christ prays… the Head prays for the body, and the body prays through the Head." Augustine's insight illuminates why the psalmist's praise is not self-congratulatory but theocentric — it is oriented wholly to the divine character. The righteous praise of the creature always derives from the righteousness of the Creator.
St. Thomas Aquinas, in the Summa Theologiae (II-II, q. 106), locates gratitude (gratitudo) among the moral virtues annexed to justice: to give thanks to God "according to his righteousness" is therefore not only an act of piety but an act of justice — rendering to God what is due. This Thomistic insight prevents thanksgiving from collapsing into mere emotion; it is a moral and theological obligation rooted in right order.
Pope Benedict XVI, in Verbum Domini (2010), emphasized that the Psalms are "the school of prayer" in which the Church learns to speak to God in God's own language. Verse 17 exemplifies this: the psalmist's praise mirrors back the very attribute — righteousness — that he has invoked throughout the psalm.
A contemporary Catholic praying this verse is invited to examine why and how they give thanks to God. It is easy to offer gratitude when outcomes are favorable — when a health scare resolves, a prayer is "answered," or circumstances improve. But the psalmist's "according to his righteousness" sets a higher and more stable standard: thanks is owed to God because of who God is, not merely because of what God gives. This transforms thanksgiving from a barometer of personal comfort into a theological act.
Practically, a Catholic might use this verse as a lens for the Eucharist. Each Mass is a moment to give thanks not according to how the week went, but according to the righteousness of God revealed in Christ's Paschal Mystery. When life is difficult — when, like the psalmist, one faces false accusation, injustice, or persecution — this closing vow becomes counter-cultural: to praise God in the midst of trial, anchored not in feelings but in the unchanging character of the God who is always ṣaddîq, righteous and faithful. It is an act of theological maturity to separate the quality of one's praise from the quality of one's circumstances.