Passage
For all his ordinances were before me. I didn’t put away his statutes from me.
For all his ordinances were before me. I didn’t put away his statutes from me.
Psalms 18:20 Yahweh has rewarded me according to my righteousness. According to the cleanness of my hands has he recompensed me.
Psalms 18:21 For I have kept the ways of Yahweh, and have not wickedly departed from my God.
Psalms 18:22 For all his ordinances were before me. I didn’t put away his statutes from me.
Psalms 18:23 I was also blameless with him. I kept myself from my iniquity.
Psalms 18:24 Therefore Yahweh has rewarded me according to my righteousness, according to the cleanness of my hands in his eyesight.
The verse centers on "ordinances", "before", "didn", "away", and "statutes". It is saying that the verse draws attention to "ordinances" and "before", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 21's "For I have kept the ways of..." into verse 23's "I was also blameless with him I...", so "ordinances" and "before" 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 "ordinances" and "before" with trust shaped by these words, not by a vague optimism outside the passage.