Here "sword" represents the army of the enemy. AT: "When the Israelites are outside, the enemy army will kill them" (See: [[rc://en/ta/man/translate/figs-metonymy]])
Yahweh speaks of being afraid as if it were a person who comes into a house and kills those who live in it. AT: "you will die because you are afraid" (See: [[rc://en/ta/man/translate/figs-personification]])
# young man and virgin, the nursing baby, and the man of gray hairs
These terms describing people of different ages are combined to mean that all kinds of people will die. (See: [[rc://en/ta/man/translate/figs-merism]])