Why does the Earth have one billion years left?
But I would not worry about that. It took 500My for life to evolve from trilobites to humans. This timespan is twice as long...
[0]: https://en.wikipedia.org/wiki/Carbonate%E2%80%93silicate_cyc...
It's predicted by astronomers and physicists who study stellar evolution.
The Sun will gradually keep getting hotter and slightly more luminous up to that point.
Earth will be a desert long before the Sun exhausts nuclear fuel to start expanding and becoming a red giant.