Of course it does. If it didn't the 2nd Law of Thermodynamics would have been broken. You do know that the making of gasoline, diesel fuel, etc., also all require more energy than the fuel supplies, don't you?
They do not. The energy in gasoline and other fossil fuels is concentrated sunlight. It was stored over millions of years. Thus we are able to obtain large quantities of energy which have been stored for our use. The total energy pumping the crude out of the ground and refining it cannot exceed what is obtained by burning it. This would be (a) silly, (b) impractical, and (c) useless.
How is the machinery used to make refined fuels to be powered? If making the fuel took more energy than combusting it, one could never make any refined fuel--you'd simply run out of power, unless the entire economy were based on nuclear, hydro, or solar power.
THINK about it before posting such nonsense!
--Boris