Passage
Thou art my portion, O LORD: I have said that I would keep thy words.
Thou art my portion, O LORD: I have said that I would keep thy words.
Psalms 119:55 I have remembered thy name, O LORD, in the night, and have kept thy law.
Psalms 119:56 This I had, because I kept thy precepts.
Psalms 119:57 Thou art my portion, O LORD: I have said that I would keep thy words.
Psalms 119:58 I intreated thy favour with my whole heart: be merciful unto me according to thy word.
Psalms 119:59 I thought on my ways, and turned my feet unto thy testimonies.
The verse centers on "thou", "portion", "lord", "said", "keep", and "words". It is saying that the verse draws attention to "thou" and "portion", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 56's "This I had because I kept thy..." into verse 58's "I intreated thy favour with my whole...", so "thou" and "portion" 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 "thou" and "portion" with trust shaped by these words, not by a vague optimism outside the passage.