Physics isn’t my bag, but from what I understand the sun will begin to expand and its luminosity increase. Then sometime in a billion years it will boil the oceans away.
Humanity will be extinct long before sun gobbles up tiny earth. A million earths will fit inside the Sun. We are smaller than a tiny tick on a bull elephants behind.