Not exactly - it is just another (and more expensive) source of oil, but inevitably there is still a limit to it (and while prolly there is more shale gas in world than oil I doubt it even triples the time before oil supply will end). Inevitably we will have to use biofuels, solar, wind [and in future also thermonuclear].