There is a big difference between modern firearms and ancient firearms. Ancient firearms were not very good, and really start to look bad in comparison to firearms.
BTW, firearms didn't kill armour; they just provided the coup de grace. Pike formations and crossbows killed the armoured knight...