It’s not that clear-cut. https://en.wikipedia.org/wiki/Electric_car_energy_efficiency:
”Taking the conversion factor of 2.58 in France into account (see Embodied energy#Electricity), we would find an efficiency of about 0.5/2.58 or 19 %, which corresponds to the order of magnitude of the balance of the combustion vehicles, according to the diagram of the Department of energy (where the efficiency of combustion vehicles is less than 20%). By the way, according to the French energy agency (ADEME), the primary energy consumption of electric vehicles and combustion-powered ones would be approximately equivalent”
I think that even ignores the higher weight of electric cars. Because of that, I think it’s better for the world to buy a small ICE than to buy a Tesla (for the local environment, things are different)