If it is just spear versus just a sword sure, I sure the spear will win. But if swordsman has a big shield, I am sure the playing field is more even. If Spearmen also has a shield, he still be more cumbersome with just one hand on the spear. Did the pikemen have shields? I know the Swiss were famous for their pikemen, and they were used heavily against cavalry.