It is possible to generate electricity from sources other than fossil fuels.
It is not possible to drive a combustion engine from sources other than fossil fuels (except in very rare circumstances).
Removing fossil-fuel burning cars from the road reduces the national fuel burden, making the generation of electricity cheaper.