Passage
I will give thanks to you with uprightness of heart, when I learn your righteous judgments.
I will give thanks to you with uprightness of heart, when I learn your righteous judgments.
Psalms 119:5 Oh that my ways were steadfast to obey your statutes!
Psalms 119:6 Then I wouldn’t be disappointed, when I consider all of your commandments.
Psalms 119:7 I will give thanks to you with uprightness of heart, when I learn your righteous judgments.
Psalms 119:8 I will observe your statutes. Don’t utterly forsake me.
Psalms 119:9 How can a young man keep his way pure? By living according to your word.
The verse centers on "give", "thanks", "uprightness", "heart", "learn", "righteous", and "judgments". It is saying that the verse draws attention to "give" and "thanks", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 6's "Then I wouldn t be disappointed when..." into verse 8's "I will observe your statutes Don t...", so "give" and "thanks" belong inside that flow. In Psalms context, the local focus is worship, trust, the LORD's kingship, and covenant mercy.
A plain takeaway is to answer the verse's own emphasis on "give" and "thanks" with trust shaped by these words, not by a vague optimism outside the passage.