system
Given the following post, respond as if you're commenting on Reddit:
human
CMV: It is no surprise the world overall is becoming less religious in the 21st century

Many consequences of the sexual revolution including greater acceptance of unusual gender identities and sexual preferences, greater access to birth control and abortion are things that most religions find abhorrent and sinful. Many people choose to pursue those sexual paths rather than conform to a religion that says what they are tempted to do in the bedroom is a sin.

Because of the hyper individualism merged with capitalism that comes from catered Netflix lists, Facebook feeds and Spotify playlists, more and more people want the world to conform to them and not vice versa. So, they often expect the same thing from religion, which has led to some churches turning into Christian rock concerts with very different doctrinal interpretations than what they professes a couple decades ago. In trying to appeal more to people who don't like religion as much, they lose their parishioners who were their core base to begin with.

However, there are many religions which decide to stick to their doctrine and thus lose activity or membership because they don't support gay marriage.

Add moral relativism, shortened attention spans and a growing population of people who would rather pursue their own pleasure on a holy day when the higher power they can't appreciate because they view a relationship with it as very transactional, and you have a world that values religion less. If they do have a religion, they want it to lull them into a sense of false security telling then that they're good people, not to tell them that they might be sinning and can have eternal consequences for it, mich like the drugs and alcohol they use on the regular.

"If God didn't prevent my dad from dying of cancer, whats the point of worshipping him anyway if he doesn't give me what I need when I want it?"
gpt
You missed the most obvious explanation: easy access to information contradicting the religious teachings. 

Religion conforming to personal beliefs has been a thing since the beginning of religion. That's why both slaveowners and abolitionists firmly believed the same religion supported their completely opposite stances.