Passage
Yea, they do no unrighteousness; They walk in his ways.
Yea, they do no unrighteousness; They walk in his ways.
Psalms 119:1 Blessed are they that are perfect in the way, Who walk in the law of Jehovah.
Psalms 119:2 Blessed are they that keep his testimonies, That seek him with the whole heart.
Psalms 119:3 Yea, they do no unrighteousness; They walk in his ways.
Psalms 119:4 Thou hast commanded [us] thy precepts, That we should observe them diligently.
Psalms 119:5 Oh that my ways were established To observe thy statutes!
The verse centers on "unrighteousness", "walk", and "ways". It is saying that the verse draws attention to "unrighteousness" and "walk", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 2's "Blessed are they that keep his testimonies..." into verse 4's "Thou hast commanded us thy precepts That...", so "unrighteousness" and "walk" 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 "unrighteousness" and "walk" with trust shaped by these words, not by a vague optimism outside the passage.