You are leaving way too many things out of the equation. Do you have any idea how much carbon is released drilling oil? First exploring, then every worker driving around remote areas, then the machinery power, then the transport, then the tankers, then the refinery, then the millions of gasoline tankers driving to millions of gas stations, THEN the burning of the gasoline. Also, EV's don't need oil changes and hoses and coolants. All pollutants and all produced and shipped with more carbon.
EV's can also use clean free local solar to charge batteries for 40 miles per day at least. But more importantly, centralized electricity production can improve every day, eventually using clean fusion and it's way better to have hubs of carbon production than spread out metastasized around the world. Those can be captured.
Then EV's have superior performance, acceleration, capture energy on braking, quieter, cleaner operation. There's really no comparison. They will only get better. ICE is done for.