Many cars are charged from solar or from renewable energy. You look at the environmental costs of extracting and refining oil, storing it, the carbon cost of shipping it and then driving it to its final destination via HGV to the fuel station. It then had to be electrically pumped from the ground into your car then you burn it off back into the atmosphere for everyone to breathe back in again.
The lithium comes from the same mines used to make the phone battery you are reading this message from.
The EV battery will live much longer than your ICE car as it can be almost totally recycled and end of life or used as storage for home battery systems.
Many cars are charged from solar or from renewable energy. You look at the environmental costs of extracting and refining oil, storing it, the carbon cost of shipping it and then driving it to its final destination via HGV to the fuel station. It then had to be electrically pumped from the ground into your car then you burn it off back into the atmosphere for everyone to breathe back in again. The lithium comes from the same mines used to make the phone battery you are reading this message from. The EV battery will live much longer than your ICE car as it can be almost totally recycled and end of life or used as storage for home battery systems.