a rising to a height: majestic grandeur when it belongs to God, but arrogant self-importance when a person or nation claims it
At its root this word pictures something physically rising, swelling, or towering upward. From that single image the Hebrew Bible draws two opposite verdicts, and which one applies depends almost entirely on the subject. When the one who is exalted is God, the word means splendor and rightful majesty. When a person, king, or nation lifts itself up the same way, the word becomes the name of arrogance, the classic sin of setting yourself where only God belongs.
This is not confusion in the language; it is the point the writers are making. There is only one kind of rising that is proper in the world, and it is God's. The word can even hinge on a single pronoun: the very same phrase describes warriors who "exult in my majesty" when God is speaking (Isaiah 13:3) and a proud people whose exulting God will strip away when the subject is a human city (Zephaniah 3:11).
A few uses keep the plain, physical picture with no moral charge at all, such as the surging heave of the sea. Hebrew also has a broader sibling word for this same idea (גָּאוֹן) that leans further toward majesty and geography; this one leans harder toward the sin.