Passage
Delight thyself also in Jehovah; And he will give thee the desires of thy heart.
Delight thyself also in Jehovah; And he will give thee the desires of thy heart.
Psalms 37:2 For they shall soon be cut down like the grass, And wither as the green herb.
Psalms 37:3 Trust in Jehovah, and do good; Dwell in the land, and feed on [his] faithfulness.
Psalms 37:4 Delight thyself also in Jehovah; And he will give thee the desires of thy heart.
Psalms 37:5 Commit thy way unto Jehovah; Trust also in him, and he will bring it to pass.
Psalms 37:6 And he will make thy righteousness to go forth as the light, And thy justice as the noon-day.
The verse centers on "light", "delight", "thyself", "jehovah", "give", "thee", "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 Jehovah and do good Dwell..." into verse 5's "Commit thy way unto Jehovah Trust also...", 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.