Arcana Coelestia #4499
4499. Took each his sword. That this signifies falsity and evil, is evident from the signification of a “sword,” as being truth combating, and hence the defence of truth; and in the opposite sense, falsity combating, and hence the vastation of truth (see n. 2799). That “sword” here signifies evil also, is because Leviticus also was involved, by whom charity, thus good, was represented; and when this becomes evil it combats by falsity from evil, and what it then does is evil.
Jeremiah 14:12-13
12
When they fast, I will not hear their cry; and when they offer burnt offering and meal offering, I will not accept them; but I will consume them by the sword, and by the famine, and by the pestilence.
13
Then I said, Ah, Lord Yahweh! behold, the prophets tell them, You shall not see the sword, neither shall you have famine; but I will give you assured peace in this place.