There are a couple of ways to go with this relative to actual history and the simplified nature of combat in DnD.
Historically muskets, arquebus and pistols were much worse that their crossbow and longbow equivalents up to the invention of rifles and automatic weapons when used by a trained...