Setting out to do something commercial (and succeeding), is different from setting out to do something firmly non-commercial and then commercialising it. The second one will almost always involve compromise that was never intended, which often undermines the original, non-commercial version.
I find both doing it for money, and doing it for personal or benevolent reasons to be good. What I find despicable is claiming you're doing something for selfless reasons, but actually doing it for profit. That's what dishonest and shows ill will towards other human beings.
(Doesn't have to be strictly about money either. The amount of voices you could hear saying they won't be writing blog articles or OSS because it'll become training data for LLMs, and that this thus deprives the world of their pro bono work, clearly shows there's plenty of such dishonest attitudes in OSS circles too.)