It depends on the electricity fuel blend. So in the past if you had a lot of coal it could take a long time to "pay back" the carbon cost of a new EV. But as more and more renewables are coming online that payback period is getting shorter and shorter. In most places if they've put at least some effort into bringing down carbon emissions, EVs are a substantial improvement.
Of course, walking, biking, transit are all far superior. But if those aren't viable for some trips then EV is the next best option.











They all have environmental impacts but every serious modern study I've seen concludes EVs are better, often substantially better.