Passage
Delight yourself in Yahweh; And He will give you the desires of your heart.
Delight yourself in Yahweh; And He will give you the desires of your heart.
Psalms 37:2 For they will wither quickly like the grass And fade like the green herb.
Psalms 37:3 Trust in Yahweh and do good; Dwell in the land and cultivate faithfulness.
Psalms 37:4 Delight yourself in Yahweh; And He will give you the desires of your heart.
Psalms 37:5 Commit your way to Yahweh, Trust in Him, and He will do it.
Psalms 37:6 He will bring forth your righteousness as the light And your judgment as the noonday.
The verse centers on "light", "delight", "yourself", "yahweh", "give", "desires", and "heart". It is saying that the verse draws attention to "light" and "delight", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 3's "Trust in Yahweh and do good Dwell..." into verse 5's "Commit your way to Yahweh Trust in...", so "light" and "delight" 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 "light" and "delight" with trust shaped by these words, not by a vague optimism outside the passage.