Passage
Remove from me the way of iniquity: and out of thy law have mercy on me.
Remove from me the way of iniquity: and out of thy law have mercy on me.
Psalms 118:27 Make me to understand the way of thy justifications: and I shall be exercised in thy wondrous works.
Psalms 118:28 My soul hath slumbered through heaviness: strengthen thou me in thy words.
Psalms 118:29 Remove from me the way of iniquity: and out of thy law have mercy on me.
Psalms 118:30 I have chosen the way of truth: thy judgments I have not forgotten.
Psalms 118:31 I have stuck to thy testimonies, O Lord: put me not to shame.
The verse centers on "mercy", "remove", and "iniquity". It is saying that the verse draws attention to "mercy" and "remove", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 28's "My soul hath slumbered through heaviness strengthen..." into verse 30's "I have chosen the way of truth...", so "mercy" and "remove" 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 "mercy" and "remove" with trust shaped by these words, not by a vague optimism outside the passage.