It is highly unlikely that a supernova could destroy the Earth. Supernovae occur in distant stars and are very rare events. Even if a supernova were to occur in a star relatively close to Earth, the amount of energy released by the explosion would have to be aimed directly at Earth in order to have a significant impact.

However, a supernova could still have some effects on Earth. The explosion would release a large amount of radiation, which could potentially harm or even kill living organisms on Earth. Additionally, the explosion could cause a disruption in Earth’s magnetic field and atmosphere, which could have implications for the planet’s climate and weather patterns.
That being said, the probability of a supernova occurring close enough to Earth to have these effects is extremely low. There are no known stars close enough to Earth that are likely to undergo a supernova in the near future. Even if a nearby star did undergo a supernova, it would have to be precisely aimed at Earth to have any significant impact, which is also extremely unlikely.