Passage
Trouble and anguish are come vpon me: yet are thy commandements my delite.
Trouble and anguish are come vpon me: yet are thy commandements my delite.
Psalms 119:141 I am small and despised: yet do I not forget thy precepts.
Psalms 119:142 Thy righteousnesse is an euerlasting righteousnes, and thy Lawe is trueth.
Psalms 119:143 Trouble and anguish are come vpon me: yet are thy commandements my delite.
Psalms 119:144 The righteousnes of thy testimonies is euerlasting: graunt me vnderstanding, and I shall liue.
Psalms 119:145 KOPH. I haue cried with my whole heart: heare me, O Lord, and I will keepe thy statutes.
The verse centers on "trouble", "anguish", "come", "vpon", "commandements", and "delite". It is saying that the verse draws attention to "trouble" and "anguish", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 142's "Thy righteousnesse is an euerlasting righteousnes and..." into verse 144's "The righteousnes of thy testimonies is euerlasting...", so "trouble" and "anguish" 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 "trouble" and "anguish" with trust shaped by these words, not by a vague optimism outside the passage.