It depends what you mean by superior.
If you mean superior in a technical sense (which unfortunately seems to be all a lot of startups and engineers focus on), then obviously there are tons of instances where 'superior' alternatives fail to catch on, simply because the 'superior' alternatives lack the non technical benefits of the older products or services.
Like how a new social network might be more decentralised and censorship resiliant than Facebook, but lack the community/userbase that makes Facebook valuable to begin with. Or how a CMS system might be better coded than WordPress, but have a UI that people find more awkward to use (or an install process that's overly tedious/annoying for non technical folk).
In that sense, a lot of superior alternatives fail to catch on simply because for all the 'objective' improvements they make, they just don't do what people need them to actually do. A community site or social network doesn't need the best codebase possible, a long laundry list of features or a censorship resistent setup, it needs a big enough community/userbase to get people invested in it.
Of course, even when all factors do line up... well, that doesn't exactly guarantee the alternative with succeed either. People aren't robots, and don't choose every action to be as rational as possible. The difference between two competitors can just as easily come down to pure luck, some perceived emotional connection, timing or anything else, not necessarily the quality of the product or organisation behind it.