This passage continues the metaphor of Yahweh's extreme anger as wine that he causes the people of the nations to drink from a cup. (See: [[rc://en/ta/man/translate/figs-metaphor]])
Here the word "sword" represents war. Alternate translation: "before the wars that I am causing to happen among you" (See: [[rc://en/ta/man/translate/figs-metonymy]])