Sure, but if you put half of humanity on Mars, you'd clearly be increasing our risk, as the difficulty of surviving on Mars is nearly insurmountable. If you want people on other planets, they need to be self-sustaining. And if we can't even be self-sustaining on Earth, why would we be elsewhere?
We're a very very long way away from being able to survive if Earth fails. It is foolish to bet on any kind of interplanetary survival strategy at this point. Getting humans to other worlds is by far the easiest part of that equation.