I feel like it's important to point out how inefficient an ICE engine is at turning that energy into useful movement however. There is a ton of stored energy in fuel, and very little of it is actually converted to useful energy.
The peak of internal combustion efficiency is only about 50% in ideal conditions, in a purpose-built engine. Your everyday commuter in real world conditions is going to be more in the 20% range. And that's likely to drop as it ages and isn't maintained absolutely perfectly.
So while a ton of energy is moving in that fuel up, little of it will ever be used. Especially when compared to an EV's real world efficiency being around 80-85%.