Anon we've had bows for longer than we've had bread and writing for. From most things I've read, warfare prior to the invention of bronze wasn't too unlike war now from an infantry perspective, bows were the dominant combat weapon and made spears obsolete because we had no armor and a bow shoots further than you can even throw a spear with the assistance of an atlatl, let alone reach with one as a melee weapon.