The Earth, as a planet, has a finite lifespan, but it is important to clarify what you mean by "destroyed." If you are referring to the complete annihilation of the Earth or its obliteration, then natural processes suggest that it will take billions of years for such an event to occur.
In about 5 billion years, the Sun will enter the final stages of its life, expanding into a red giant. During this phase, it is predicted that the Sun will engulf the inner planets, including Earth, and essentially vaporize them. However, this process is a natural part of stellar evolution and not a sudden catastrophic event.
If you are referring to the potential for human-induced destruction of the Earth, such as through environmental degradation, nuclear war, or other disastrous scenarios, it is challenging to predict with certainty. The future trajectory of our planet depends on various factors, including technological advancements, societal choices, and global cooperation. Efforts to mitigate and address potential risks can help shape a more sustainable future for Earth and its inhabitants.
It is important to note that while the Earth may face challenges and changes over time, the timeline for its complete destruction is significantly longer than the lifespan of our species.