We have enough land on earth already. Land is not actually the solution to any problem on earth. But Mars is the solution to a potentially big problem on earth.
And the technology to manufacture fuel from solar and nuclear energy, building advanced life support system, advancing the state of rocket technology, allowing much more use of sat technology, massively advancing science planetary/biology/(and more), controlled high efficiency farming, human health science, mobile hospitals and so on, will all be developed and have many applications. Even things like battery technology for this use case will have interesting question to ask and can have impact on batteries on earth.
So if it was literally just the backup to life, it wouldn't be worth it, but its not done in a vacuum.
And its inspiring. A whole generation of engineers all around the world were inspired. And the moon landing did bring humanity together to an extent, many people even in the Soviet Union talked about 'we' landed on the moon.
Seems to me to be worthwhile to push at the very least to a small settlement, and from there you can see if its makes sense to continue.