Here "sword" represents the swords and other weapons that the soldiers used in battle. This can be stated in active form. Alternate translation: "Barak and his soldiers killed Sisera's whole army with their swords" (See: [[rc://en/ta/man/jit/figs-synecdoche]] and [[rc://en/ta/man/jit/figs-activepassive]])