Passage
It is good to give praise to the Lord: and to sing to thy name, O most High.
It is good to give praise to the Lord: and to sing to thy name, O most High.
Psalms 91:1 A psalm of a canticle on the sabbath day.
Psalms 91:2 It is good to give praise to the Lord: and to sing to thy name, O most High.
Psalms 91:3 To shew forth thy mercy in the morning, and thy truth in the night:
Psalms 91:4 Upon an instrument of ten strings, upon the psaltery: with a canticle upon the harp.
The verse centers on "good", "give", "praise", "lord", "sing", "name", "most", and "high". It is saying that the verse draws attention to "good" and "give", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 1's "A psalm of a canticle on the..." into verse 3's "To shew forth thy mercy in the...", so "good" and "give" 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 "good" and "give" with trust shaped by these words, not by a vague optimism outside the passage.