When lower-mass, sun-like stars run out of fuel, they blow off their outer layers in a planetary nebula, but the center contracts down to form a white dwarf, which takes a very long time to fade to darkness. Over time, any remaining planets will lose gravitational radiation, where they’ll eventually merge with our sun’s stellar remnant. (Credit: Mark Garlick/University of Warwick)
The last ~4 billion years have been an incredibly successful, unbroken run for life on Earth. The future won’t be nearly so bright.
For over 4 billion years, terrestrial life has survived and thrived.