From Rome 2 multiplayer, I remember spearmen absolutely not even with swords :P My server played with swords limit, because then everyone would pick only them!
Spearmen purpose was to buy you time and for other units to tire out, before you'd bring in your swords :D