This seems like a pretty big "if". Arguably, Automattic is better than most for-profit companies since they develop a FOSS product, and I think you can make an argument that any sort of FOSS makes the world better.
OTOH, it's not clear to me that making it easier and cheaper to blog or host websites makes the world better. I'm sure there's lots of people using WordPress and similar products for horrible things, like tobacco companies, arms manufacturers, animal ag companies, etc. And that's not to mention the no doubt plenty of personal users who are blogging about conspiracy theories, white supremacy, or Hindu nationalism.
I think the best case for most software is that it's net _neutral_. I work at a database company. Our products are used by many, many different companies, non-profits, and governments. I think some of our customers are horrible, some are great, and most are neither. But that would be the case for me at nearly every software company I might work at.