Passage
For all the gods of the Gentiles are devils: but the Lord made the heavens.
For all the gods of the Gentiles are devils: but the Lord made the heavens.
Psalms 95:3 Declare his glory among the Gentiles: his wonders among all people.
Psalms 95:4 For the Lord is great, and exceedingly to be praised: he is to be feared above all gods.
Psalms 95:5 For all the gods of the Gentiles are devils: but the Lord made the heavens.
Psalms 95:6 Praise and beauty are before him: holiness and majesty in his sanctuary.
Psalms 95:7 Bring ye to the Lord, O ye kindreds of the Gentiles, bring ye to the Lord glory and honour:
The verse centers on "gods", "gentiles", "devils", "lord", and "heavens". It is saying that the verse draws attention to "gods" and "gentiles", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 4's "For the Lord is great and exceedingly..." into verse 6's "Praise and beauty are before him holiness...", so "gods" and "gentiles" 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 "gods" and "gentiles" with trust shaped by these words, not by a vague optimism outside the passage.