I don't share the objection to "sub-optimal" weapons. Some weapons are better than others, just like you'd expect.
Except not like you’d expect. D&D already threw realism out the window by embracing its anachronisms, so the options that are available need to be meaningful. Appealing to history as to the effectiveness of weapons is moot, since there was never a time where all those weapons and armors were used concurrently.
NPCs can use them. Maybe those bandits could only get crappy weapons. Maybe when the PCs break out of the jail cell, the only gear they can grab their hands on is a pile of unusual weapons. Maybe that religious cult uses these ceremonial weapons rather than the most optimal weapon. Maybe in some campaigns or settings certain weapons are more common than others.
Maybe Bandits can have their HP/stats altered so they don’t have support a blasé weapon list.
Maybe the PCs having to make do with non-magical weapons is punishment enough, to say nothing of other gear they might have had.
The religious and campaign constraints are valid, sure, but they’re not relevant to the design of the base game, either.
Point is, I feel for people like Blue who want to make a spear fighter, only to find that the spear is pretty bad weapon and has nothing to really bring to the table, niche or otherwise. Likewise, I’m tired of seeing rapiers everywhere I go. I have 2 people using them in my current group, and that could easily become 3. When a weapon is that dominant, it’s typically a sign of a problem.