Except that some of the absolute worst ecological tragedies in the modern world were done in socialist systems, largely because they were inefficient, central planning made it more effective, and people couldn't say no or mitigate it. I honestly think that people use socialism as a catch-all to be a system where they can force through the changes they would prefer to see in the world.
Meanwhile, some of the most effective ecological mitigations of the modern world were done through legislation and regulation of a capitalist system. Example: the banning of CFCs and water management.
It's largely our growth as a population that's caused the issues and it requires drastic action at all levels to live within our means. We can live more sustainably and we are getting there but it does require an efficient system and an educated populous. That results in better regulations on markets that can account for externalities.
Poisoning the waterhole hurts everyone regardless of the system. There needs to be consequences put in place for doing so, and by the international nature of the problem, it requires treaties to get all systems aligned. That takes time and effort and we are getting there.