A common trope is "this replacement (nuclear/wind/solar) isn't perfect so lets keep building fossil fuels"
Every 1kwh produced by a windmill is 1kwh less of oil being burnt. We don't exactly have an abundance of energy at the moment, there's no excuse not to be diverting vast amounts of planetary resources into renewable production.
I am certain that is the case for batteries. Recycling is always easier than digging up and processing the rocks which contain a few percent by weight of each relevant element, and they're already a net win (with regards to CO2) even if you do that.
I am all in for green energy but we have to be honest and estimate well, otherwise we will simply continue as we are now (if not make matters worst)