You could've read at least the Wikipedia page on how miraculous Gimli Glider was.
From "all engine failure is never expected and not covered in training" to "Pearson was an experienced glider pilot familiar with techniques rarely needed in commercial flights" to the amount of maneuvers they had to execute on a barely responding aircraft
Exactly, the takeaway from that saga is that extreme luck does happen, not that flying without fuel is perfectly safe.
They also happened to know about an old airport which was no longer active, but did not know about the concrete barrier in the middle.