Lots of ilk could be assigned to their governments ruling classes. Often the nobles and religious figures take turns coercing then coddling throughout history. I don’t think any religion should shoulder direct blame here.
Religions are vessels that are going to be created by us whether we like it or not. I think framing them like our governments as inherently malign is not accurate. They seem to be a product of the current / past environment or a snapshot of the culture is more accurate.
The oldest stories triangulate on evidence around 50,000 years ago that an evolutionary split occurred. This seems to touch on many other things, including the seeds of religion.
The oldest oral traditions I can find seem to place themselves here, around 36,000 years ago in the Americas. In India, Himalayas, and a few pockets in Asia it is likely these traditions go back at least as far.
During this entire time there were rises and falls in sea level with an overall trend that it was receding until roughly 15,000-18,000 years ago.
The last rise was more rapid than pervious cycles that came immediately before. The sea level started to level finally bobbing above and below currently levels in the next 10,000 years ago.
These previous cyclical sea level rises had been ebbing with eddies that allowed for large rises and drops with a long overall long-term trend level dropping.
Cultures seem to preserve these observations of sea level fluctuations in myth, oral traditions, tablets, and writing. Because of the cyclical nature of these events it is a bit difficult to discern the severity of them. There seems to be slow flooding and recession of shoreline over the vast majority of these cycles events unfold slowly.
This spawns several mass migration events and these events most likely caused the rise of religion. This is highly likely created as a system in which factions could coexist and thrive. These coastal civilizations seemed to understand the benefits of seeding cultures and the influence and trade that is part and parcel. This would make sense and there is evidence of these exchanges. DNA studies of the so called Sea Peoples (Sea Peoples - Wikipedia) show a humans known for savvy sea fairing and navigation had diverse maternal linages. This shows some cultures were ancient indicating a travel to of females was common along with intermingling of factions. (Ancient mitogenomes of Phoenicians from Sardinia and Lebanon: A story of settlement, integration, and female mobility)