As people get richer, as we stop starving and freezing, we prioritize the environment more and more. People in rich countries like green spaces and wild animals, are concerned about climate change, and invest massive amounts of money in environmentally friendly tech.
There's every reason to believe that this pattern will continue. As the world gets richer, we'll continue to develop the will to deal with various environmental problems. In the meantime, a certain amount of damage will be done, but it won't be irrecoverable.