Fuel depletion is stupendously risky, it is one of the most risky things that can happen to a jet. The only things more dangerous are fire and control systems failure.

The Gimli Glider was a case of many items of luck lining up.