WWI trench warfare resulted in the awful loss of life because tactics didn't match technology.
The individual soldiers' weapons had little to do with the mass charges into machine gun nests and artillery barrages.
All things being equal, they could all have been carrying spears for that matter.