A lot of people in the middle of the Bell Curve on this one
Early Modern Period (~1600 AD)
(thelemmy.club)
Guns replaced bows because they became better weapons. The reason people developed guns is because they saw potential, and because the loud bang bang noise is scary, not because they were better at killing than bows.