Passage
A sojourner I <FI>am<Fi> on earth, Hide not from me Thy commands.
A sojourner I <FI>am<Fi> on earth, Hide not from me Thy commands.
Psalms 119:17 <FI> Gimel.<Fi> Confer benefits on Thy servant, I live, and I keep Thy word.
Psalms 119:18 Uncover mine eyes, and I behold wonders out of Thy law.
Psalms 119:19 A sojourner I <FI>am<Fi> on earth, Hide not from me Thy commands.
Psalms 119:20 Broken hath my soul for desire Unto Thy judgments at all times.
Psalms 119:21 Thou hast rebuked the cursed proud, Who are erring from Thy commands.
The verse centers on "sojourner", "earth", "hide", and "commands". It is saying that the verse draws attention to "sojourner" and "earth", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 18's "Uncover mine eyes and I behold wonders..." into verse 20's "Broken hath my soul for desire Unto...", so "sojourner" and "earth" 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 "sojourner" and "earth" with trust shaped by these words, not by a vague optimism outside the passage.