Don't confuse the fact that we've been lucky not to go extinct yet with evidence that we won't, especially when you being around to make that inference is conditional on said luck.
Once humanity spread around the world, the odds of a natural catastrophe killing all of us at the same time became very low (limited to planetary-scale distasters).
Only since the industrial revolution we've been on a more dangerous path toward central points of failure. On a geological time scale, that's only a very short time. But we've been testing our luck really hard.
That said I get the simulation theory feeling pretty solid sometimes, to the point where grappling with it is one of the major themes of the graphic novel I'm in the middle of...
Tell that to the Dodo, the Quagga, the Javan Tiger and the Thylacine. And many others besides.
No wonder we love and underdog -- there is no greater under dog than humanity.