I don't know Roman history. But for the legionnaires they switched from spears to swords, and I thought to myself, "What the fuck, why would you ever switch away from spears as the primary weapon for ancient world infantry."
AND THEN THE SPEARS CAME BACK ๐