Since many other cases were already covered, I've added this only to show that the possibilities are many.
Legacy vanity addresses are uncompressed addresses and they are of larger size (or maybe the vanity address generator that I have used in the past) which will make transaction fee to be higher than that of compressed legacy addresses. I think the solution to use lower fee for transaction started as uncompressed address was created. Although, some people may just like to customize their address and they will prefer to use vanity address generator for it. But there is also segwith vanity address generator.
Indeed the private keys start with 5.. however, if one wants cheap fees he will use pure SegWit in 2023, isn't it?

And for SegWit addresses I just use my hardware wallet, trading the lack of nice addresses for my funds' safety.
In 2023 there aren't many valid reasons for using legacy addresses, still, some do want them/insist for them. I am curious about OP's and also about what he actually wants to achieve, that's also why I've asked for details.