Producing isn't actually enough, let's talk about the full cycle.
Even if you produce it cleanly, you'll need to store it + production of the turbins ...
And battery production (and mining for materials) pollutes the environment as well.
So let's not compare only parts of the system ... let's be real here