You can say that about solar panels, but as long as the organizations that build, own, and operate them are for-profit companies, profit is going to be top of mind.
It doesn’t matter if the generator is powered by solar or wind or coal or what: if it’s owned by a private company, that’s how it’s going to be. (Which is why utilities should be nationalized/in the public sector.)
/1