It doesn't have to magically be "perfect" on Jan 1, 2030.
In the UK around 2.3 million vehicles are sold per year[1]. Which means in 2030 about that many electric cars will be sold, and so on for each year. The ICE vehicles that were sold in 2029 won't magically stop being used, they'll just slowly fade out.
So in reality they have until well into the 2030s (even 2040s) before the very vast majority of vehicles will be all electric.
Of course this is a big challenge, and it will require effort. Anything worth doing is difficult.
The other choice is we sit around and do nothing. I know which option I prefer. And at 38 years old, it isn't up to me. Talk to people who are 15-25 and ask what kind of air they want to breath and what kind of world they want to live in. This is a decision for them, not for us.
[1] https://www.marklines.com/en/statistics/flash_sales/salesfig...