We're already seeing how we badly impacted earth* not even 200 years after starting to pollute it... I'd like to see how we'll make dead rocks without atmospheres more comfortable than home before we collapse
* literal biological paradise we've been engineered for millions of years to live on
But now you’re moving the goalposts a little. If the problem is limited resources, the solar system has a ton of resources, and we can use those resources to improve life on Earth. Eventually we are going to learn how to live in space by managing small habitats there, but as those habitats gradually grow in size and in number we will learn from that and even become better at managing the very large and complex habitat that is the Earth.
Fortunately we have an entire solar system. That should last us a shocking amount of time.