Don't forget that you can only extract about 30-35% of that energy via combustion, though. Whereas a battery with an electric motor you get more like 90%
Another knock against gasoline is that you spend about 1 EV battery pack of energy to refine a cars tank of gasoline from crude oil in the first place.