I suspect an asteroid or comet will “get us” well before the 4.7 billion year mark.
I’m glad it is “billions” and not “millions”.
I might be more concerned if it was “millions”.
But the world won't end with a simple asteroid or comet strike. It might very well wipe out most of mankind but some will survive the bottleneck and live to repopulate the planet.