Are you just going to buy everyone new cars? Or replace all existing vehicles?
I mean I'm all for electric cars and other modes of transport, but the problem is that we have an existing infrastructure that will take a long time to replace. As an example, the vehicle I drive is from '97. I still see people driving cars from the early 90's (or even 80's) as their daily driver. (And it is more common for poorer people to drive older cars).
So do we need a new gasoline? Yes, unless you want to either replace 30+ years of vehicles, or wait that long.