Seriously, you expect me to believe that you oppose electric cars, like all environmental improvements, on environmental grounds? Gas cars generate more than twice as many emissions than a typical electric car from manufacture through recycling of materials at the end of the car's life, according to the Argonne National Laboratory. As more power is generated through green energy and electric cars are manufactured more efficiently, the gap will only grow larger. But if your real point is that electric trains and trams should replace cars, I'm on board with that. As for your claim, it would take nine years to improve on a gas car--and then the next nine to twelve years of the car's use would be all to the good for the electric car--only under the rare circumstance in which you were comparing a gas car getting 32 mpg, which is pretty high, AND you were driving only 3,200 miles per year, ten thousand less than average, and you were replacing it only with a 50 mpg equivalent hybrid Prius. If you drove 13,000 miles per year, the average, the Prius would be superior to the gas car in just ten months in terms of emissions.
Compare the costs and the energy efficiency for electric vs. gas cars now.
I'm going to use 15,000 miles driven per year, because that's the measure they used to compare. The electric cars all got at least 93 electric equivalent miles per gallon, with a max of 136 for the Hyundai Ioniq. Average fuel economy for light duty gas cars is 25.7 mpg (2020). So, the electric cars are four to five times as efficient. Accordingly, average energy costs per year per car were between $500 and $700 for electric cars, vs. $2,042 for gas light duty vehicles at 15,000 miles traveled (25.7 mpg) at $3.50 per gallon. So, you're saving $1300-1500 per year on energy costs. For twenty years life of car, that's up to $30k. Add to that the $330/year that electric cars save on maintenance, according to AAA. Consumer Reports found a total maintenance cost savings of $4600 lifetime for maintenance and repair costs for electric cars. That's $34k savings for electric. That's a good deal even with them being more expensive to buy, and you're saving society a large amount of pollution and health costs.