Quoted from SadSack:100% serious. The battery production/disposal and inefficiency of the grid waste MUCH more energy and are MUCH more destructive to the environment than burning hydrocarbons at the point of use. Things aren't always as marketers would trick you into believing.
Consider the extra energy burnt carrying around a 1060lb battery vs. an average of 100lbs in fuel. Do you think that energy wasted comes at no cost?
I'll meet in the middle here. BEVs cost more to produce (for now), but over their lifecycle result in a net benefit (this could be argued). The environmental benefit will increase as BEVs are more widely adopted, and the lithium recovery technology improves. If EV adoption is slow, then the battery and magnet metals will continue to be costly (environmentally and fiscally).
https://www.ucsusa.org/resources/cleaner-cars-cradle-grave
Edit: FYI the article I shared will initially appear out of date, but if you choose to deep dive on this subject, contains updated data if you click through the links.