EVs are made with metals smelted with ~2 tonnes of coal, making about 4 tonnes of CO2. The coal is transported with diesel derived from oil. Which is extracted with steel. Which is made with coal.
EVs use fewer resources over their lifetime than infernal-combustion. So that’s good, assuming all the oil products they rely upon throughout their lifetime (e.g. bitumen) continue to flow.
But we’re probably past peak diesel. Perhaps we can examine our predicament more fully?

