The Earth, like all planets in space, is doomed to destruction.

An excerpt from the article 25 facts about Earth

Life on the surface of our planet has been wiped out many times by great cataclysms called great extinctions. However, after each such event, living organisms were reborn, and thus life on Earth has continued uninterrupted for billions of years. However, the final blow to our home planet will be the expansion of the dying Sun, which in about 7.6 billion years will expand its atmosphere so significantly that it will absorb the Earth.