Passage
For God is the king of all the earth: sing ye wisely.
For God is the king of all the earth: sing ye wisely.
Psalms 46:6 God is ascended with jubilee, and the Lord with the sound of trumpet.
Psalms 46:7 Sing praises to our God, sing ye: sing praises to our king, sing ye.
Psalms 46:8 For God is the king of all the earth: sing ye wisely.
Psalms 46:9 God shall reign over the nations: God sitteth on his holy throne.
Psalms 46:10 The princes of the people are gathered together, with the God of Abraham: for the strong gods of the earth are exceedingly exalted.
The verse centers on "king", "earth", "sing", and "wisely". It is saying that the verse draws attention to "king" and "earth", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 7's "Sing praises to our God sing ye..." into verse 9's "God shall reign over the nations God...", so "king" and "earth" 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 "king" and "earth" with trust shaped by these words, not by a vague optimism outside the passage.