Unwieldy does not men ineffective or useless

Spears are perfectly capable of penetrating armour if they strike well and the armour is not too strong, and most people throughout history were unarmoured - even those in some armour generaly have large areas of their body unarmoured.

When armour became more extensive and effective spears were generally supersceeded by weapons better suited to piercing armour tho.