Well, if we had less oil, gas and coal it could make things a lot better with climate change.
Abundance can also lead to wastefullness. But generally speaking it just doesn’t matter if pretty rocks are scarce or not, if they don’t have any value in fulfilling human needs.
There is plenty of homophobe, transphobe, racist and otherwise bigoted people that have nothing to do with religion.
And if people would take their religion seriously instead of using it as a superficial scapegoat, cherrypicking what they like, there would be no capitalism.