Passage
Thou hast commanded to keepe thy precepts diligently.
Thou hast commanded to keepe thy precepts diligently.
Psalms 119:2 Blessed are they that keepe his testimonies, and seeke him with their whole heart.
Psalms 119:3 Surely they woorke none iniquitie, but walke in his waies.
Psalms 119:4 Thou hast commanded to keepe thy precepts diligently.
Psalms 119:5 Oh that my waies were directed to keepe thy statutes!
Psalms 119:6 Then should I not be confounded, when I haue respect vnto all thy commandements.
The verse centers on "thou", "hast", "commanded", "keepe", "precepts", and "diligently". It is saying that the verse draws attention to "thou" and "hast", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 3's "Surely they woorke none iniquitie but walke..." into verse 5's "Oh that my waies were directed to...", so "thou" and "hast" 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 "hast" with trust shaped by these words, not by a vague optimism outside the passage.