Life on Earth survived the mass extinction event 66 million years ago, obviously, otherwise we wouldn't be here now. The dinosaurs were wiped out, but the dinosaurs had nowhere to hide and were completely unprepared for the asteroid impact. It's important to keep in mind that the Earth after the asteroid hit was still vastly more livable and conducive to life than Mars is now. Mars is more hostile to life than a big asteroid impact, because Mars has no habitat to start with. Mars has no benefit whatsoever to humans as far as Earth disaster survival is concerned, except for the fact that Mars is not Earth.
A much better plan to avoid extinction is multifold: (1) Stop destroying our own environment, duh. (2) Get rid of nuclear weapons. (3) Stop killing each other in general. (4) Invest in asteroid detection and deflection. (5) Build shelters on Earth capable of surviving disaster, such as underground. It also wouldn't hurt to (6) Stop being afraid of vaccination.
We've got everything we need here already: normal gravity, breathable atmosphere, food, water, raw materials, people. It would be sooooooo much easier to build disaster shelters on Earth than to permanently populate Mars. The difference in difficulty level makes Mars a total joke in comparison.
As a species, if we can't even get our shit together on Earth enough to stop polluting, stop killing, stop the threat of nuclear war, and vaccinate against contagious diseases, then we have no hope of long-term survival anywhere, because of our own stupidity. You can forget living on Mars, a massively hostile environment, if we can't do it right here on Earth, which was practically made for us.