Seems to me religions, all of them, are with us for a purpose. They seem to be various kinds of moral framework, left by beings of much higher intelligence, that we were supposed to use, towards survival of our species. Since they were from beings of higher intelligence, we should interpret them as no more than riddles. I don't believe any human can fully understand any religion in a single human lifetime, we have to evolve collectively into that knowledge.
It looks like separating religion out from science was a very big, profit driven mistake, perhaps even existential.
We are about to find out, maybe.
The current environmental problem seems to relate to the idea of worshiping false gods, a big mistake by most religions. Also that god resides above, not below our feet.
We worship capital, when what we actually need is energy, so it should be energy we worship, which all comes from above, the sun, not below, the capital of Earth, which itself was created by the energy of the sun. That fits the physical problem too well to be coincidence, it seems to me.
If more folk were more religious, perhaps we would realise this sooner. As it is, it might be too late. Instead we are still warring over what is effectively capital, a false god. The solution to all of it is simply to plug into the energy of the sun using the technology we have, but that will physically destroy all value in capital. So we choose instead to fight, over capital, potentially to the death of all life on our planet.