Here "sword" refers to war or enemy armies. Alternate translation: "I will send enemy armies" or "I will send out war" (See: [[rc://en/ta/man/translate/figs-metonymy]])
These things are spoken of as if they were living things that could attack the people of Jerusalem. (See: [[rc://en/ta/man/translate/figs-personification]])