Possible the fuel pump actually died and you just think the car is out of fuel.
For the life of me, I cannot understand how anyone can run a vehicle out of fuel. I trained my kids on my philosophy, the car is out of fuel at 1/4 of a tank. ALWAYS fill up when the gauge hits 1/4 full.
Also reset and monitor the trip odometer in case the fuel gauge does not work correctly and you will also know if the vehicle is using far more fuel than necessary.