The sword is the offensive weapon, not a defensive one: that would be the shield of faith, the breastplate of righteousness, the helmet of salvation, the preparation of the gospel of peace...
Ephesians 6
13 Wherefore take unto you the whole armour of God, that ye may be able to withstand in the evil day, and having done all, to stand.
14 Stand therefore, having your loins girt about with truth, and having on the breastplate of righteousness;
15 And your feet shod with the preparation of the gospel of peace;
16 Above all, taking the shield of faith, wherewith ye shall be able to quench all the fiery darts of the wicked.
17 And take the helmet of salvation, and the sword of the Spirit, which is the word of God:
18 Praying always with all prayer and supplication in the Spirit, and watching thereunto with all perseverance and supplication for all saints;
See especially verse 4 & 5, below -
2 Cor 10
3 For though we walk in the flesh, we do not war after the flesh:
4 (For the weapons of our warfare are not carnal, but mighty through God to the pulling down of strong holds;)
5 Casting down imaginations, and every high thing that exalteth itself against the knowledge of God, and bringing into captivity every thought to the obedience of Christ;
6 And having in a readiness to revenge all disobedience, when your obedience is fulfilled.
You’re right. Thanks for pointing that out.