Mars is a planet that is VERY hostile towards (human) life at the moment. As far as I know we do not even have the remote technical capabilites to do stuff like terraforming to make marss inhabitable. So that means we would have to create closed constructs that protects humans.
Lets assume, that we have the technology to contruct settlements that are capable of sustaining humans up there. Couldnt we just use the same technology to remain on earth no matter how hostile climate change makes it towards humans ?
Even in the worst case scenarios for climate change. Earth will still look like a paradise in comparison to a "good" day on mars.