These two phrases share similar meanings and emphasize the complete destruction that the people of Israel accomplished at Yahweh's command. (See: [[rc://en/ta/man/translate/figs-parallelism]])
The sword represents the army of Israel and striking expresses the idea of slaughter and destruction. AT: "Joshua killed and destroyed them" (See: [[rc://en/ta/man/translate/figs-metonymy]])