Yes, 1 billion years life will be extinguished (and most likely much sooner) on earth from the suns radiation, in 5 billion years there will be no sun at all.Although it's still a few hundred million to a billion years in the future, the Earth will actually suffer a catastrophic collapse in atmospheric CO2 levels, and all life on Earth (except for anaerobic bacteria) will go extinct!
CO2 levels collapse, photosynthesis ceases, O2 production ceases = all aerobic life EXTINCT!
OUT OF BREATH All humans and animals ‘will die out on Earth in a billion years’ due to ‘mass suffocation’ as oxygen levels collapse
https://www.thesun.co.uk/tech/14219092/earth-will-run-out-of-oxygen-study/
Earth isnt here forever and the suns energy isnt going to last forever, for 3 billion years now the climate on earth has been changing, droughts, ice ages, as the sun itself changes and cools down it expands it will one day will literally die, the earth itself become lifeless or melt away. Nothing will stop it, its always been a given.
https://www.livescience.com/is-earth-moving-closer-farther-sun
This explains it =