Horsemen are good, but not completely dominating. Spearmen have a +50% bonus vs mounted, bringing their CS up enough to compete.
Even with that they have the same strength as the horseman. And for example an archer can't even hurt a horseman (make around 9 damage). It is also weird because horseman is a very early unit now even know it wasn't even a real thing up until the classical era.