Passage
With my whole heart have I sought thee: O let me not wander from thy commandments.
With my whole heart have I sought thee: O let me not wander from thy commandments.
Psalms 119:8 I will keep thy statutes: O forsake me not utterly.
Psalms 119:9 Wherewithal shall a young man cleanse his way? by taking heed thereto according to thy word.
Psalms 119:10 With my whole heart have I sought thee: O let me not wander from thy commandments.
Psalms 119:11 Thy word have I hid in mine heart, that I might not sin against thee.
Psalms 119:12 Blessed art thou, O LORD: teach me thy statutes.
The verse centers on "whole", "heart", "sought", "thee", "wander", and "commandments". It is saying that the verse draws attention to "whole" and "heart", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 9's "Wherewithal shall a young man cleanse his..." into verse 11's "Thy word have I hid in mine...", so "whole" and "heart" 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 "whole" and "heart" with trust shaped by these words, not by a vague optimism outside the passage.