Sure, at first sight you are not burning fossil fuel in your car so you are slowing down climate change. Plenty of studies show the life-cycle greenhouse gas emissions are significantly lower for an EV than an ICE vehicle. https://www.iea.org/data-and-statistics/charts/comparative-l... Although perhaps a mere half is not what people would think at first when they just compare tailpipe emissions... and it depends on how carbon intensive is the electricity you are using for charging. And there's more than just emissions to consider.
1. Lithium mining needs water. The typical amount given is 500 000 gallons per one ton of lithium. Think of fracking.
2. Mining waste for base metals such as copper or nickel is 20-200 tonnes but rare earth minerals like platinum make a million tonne of waste per tonne extracted.
3. The lifetime of the battery which is the problematic component is significantly lower than the lifetime of a typical ICE car.
And more.
The solution is, of course, to reverse the dependence on the automobile. https://unevenearth.org/2018/08/the-social-ideology-of-the-m... this might be old but it is still relevant.