Humanity won't go extinct any time soon, and at this point in time focusing resources on fighting problems like climate change is infinitely more rewarding than any stupid dicking around on the moon or mars.
Mars won't ever be even as habitable as a thoroughly fucked up earth. It is a huge waste of time and resources that could be better employed on more immediate problems.