"Remain on Earth" and "become extinct" are not distinct choices. As Heinlein

"Remain on Earth" and "become extinct" are not distinct choices. As Heinlein

and numerous others have put it, the Earth is too small and fragile a basket

for humanity to keep all its eggs in.

It's not so much a matter of "if" but of "when". Ask the dinosaurs.