Passage
Therefore as I live, says Yahweh of Armies, the God of Israel, surely Moab will be as Sodom, and the children of Ammon as Gomorrah, a possession of nettles, and salt pits, and a perpetual desolation. The remnant of my people will plunder them, and the survivors of my nation will inherit them.
Nearby Context
Zephaniah 2:7 The coast will be for the remnant of the house of Judah. They will find pasture. In the houses of Ashkelon, they will lie down in the evening, for Yahweh, their God, will visit them, and restore them.
Zephaniah 2:8 I have heard the reproach of Moab, and the insults of the children of Ammon, with which they have reproached my people, and magnified themselves against their border.
Zephaniah 2:9 Therefore as I live, says Yahweh of Armies, the God of Israel, surely Moab will be as Sodom, and the children of Ammon as Gomorrah, a possession of nettles, and salt pits, and a perpetual desolation. The remnant of my people will plunder them, and the survivors of my nation will inherit them.
Zephaniah 2:10 This they will have for their pride, because they have reproached and magnified themselves against the people of Yahweh of Armies.
Zephaniah 2:11 Yahweh will be awesome to them, for he will famish all the gods of the land. Men will worship him, everyone from his place, even all the shores of the nations.
Study Lenses
The verse centers on "therefore", "live", "says", "yahweh", "armies", "israel", "surely", and "moab". It is saying that the verse draws attention to "therefore" and "live", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 8's "I have heard the reproach of Moab..." into verse 10's "This they will have for their pride...", so "therefore" and "live" belong inside that flow. In Zephaniah context, the local focus is covenant, worship, and faithfulness.
A plain takeaway is to answer the verse's own emphasis on "therefore" and "live" with trust shaped by these words, not by a vague optimism outside the passage.