That would minly depend on politics, and those are fickle.
Based on technology, there's no reason to retire ICEs. They have a few advantages over electric systems - most notably that the whole fuel supply infrastructure is in place, refuelling is fast and range is a non-issue. We (or rather, the politicians) just need to decouple the discussions about engine technology and fuel sources. Just because ICEs traditionally run on fossile fuels doesn't mean they have to - redesigning them for easily synthesized renewable fuels is trivial, running them on not so easily synthesized renewable fuels is also possible.
There's also another, related problem: most people (I suppose that includes the OP) equate ICEs with personal transport. The latter part will have to go, though, hard as it may be for some people. The sooner you come to terms with not owning a personal motorized vehicle that is just standing around 22/7, the easier the transition will be for you.