But 1) the spear is the stabby weapon of choice when not in close quarters. From horseback you'd only use the katana to slice. Certainly, you wouldn't try stabbing someone with a katana from horseback.
And 2) the Japanese mostly didn't have excellent armor. They had shitty iron, so making good steel was very expensive for them. They couldn't have mass-produced steel plate armor.
The amazing thing about katanas is not that they're better than european swords (they're not), it's that they were able to make good weapons at all out of shit-tier iron.