Passage
In my trouble I cried to the Lord: and he heard me.
In my trouble I cried to the Lord: and he heard me.
Psalms 119:1 In my trouble I cried to the Lord: and he heard me.
Psalms 119:2 O Lord, deliver my soul from wicked lips, and a deceitful tongue.
Psalms 119:3 What shall be given to thee, or what shall be added to thee, to a deceitful tongue?
The verse centers on "trouble", "cried", "lord", and "heard". It is saying that the verse draws attention to "trouble" and "cried", so its meaning should be read from those terms before moving to application.
The next verse adds "O Lord deliver my soul from wicked...", so "trouble" and "cried" should be read forward into that movement. 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 "trouble" and "cried" with trust shaped by these words, not by a vague optimism outside the passage.