The word "sword" is a metonym for war. The sword, famine, and disease are spoken of as people who can obey Yahweh's command to harm the Israelites. Alternate translation: "I am going to punish them by having them die in war, from hunger, and from illness" (See: [[rc://en/ta/man/jit/figs-metonymy]] and [[rc://en/ta/man/jit/figs-personification]])