Remember the word to Your servant, Upon which You have caused me to hope.
This is my comfort in my affliction, For Your word has given me life.
The proud have me in great derision, YetI do not turn aside from Your law.
I remembered Your judgments of old, O LORD, And have comforted myself.
Indignation has taken hold of me Because of the wicked, who forsake Your law.
Your statutes have been my songs In the house of my pilgrimage.
I remember Your name in the night, O LORD, And I keep Your law.
This has become mine, Because I kept Your precepts.
Connecting the first and last verses in this stanza leads me to an interesting observation. The Word of the Lord leads me to hope. That hope becomes mine as I seek to keep the Lord's precepts.
That hope is not self-centered "Oh, I hope I win the state lottery this week." but is a certain expection of the Lord's imminent return.