OP, there was a time when the same question was asked about flintlock firearms vs bow and arrows.
When the Indigenous peoples of several different continents first confronted flintlock firearms and even matchlock firearms, they were afraid of the new tech, simply because they didn't understand the limitations of the tech.
It didn't take the Indicines long to figure out the high tech flint locks weren't any more lethal than their own bows and arrows. In some cases, the bow and arrows even had a greater effective range and could get a lot more shots on target than the smoke/flame belching weapons.
Superior tactics and personal body armor on the offshore conquerors overcame the deficiencies of their firearms and when it got up close/personal, that's when iron swords etc came into play.
At very short ranges, 25 meters or less, a skilled person with a powerful slingshot could very likely have an advantage, not if their opponent was wearing any sort of armor though.