Religion likes to make you humble. You arent worthy, someone suffered for you, you should spend your life trying to make up for that etc etc
It helps repress the whole "i'm just going to do what I want, when I want" impulse that would have destroyed early civilization, but is perfectly acceptable now.
Hence religion = irrelevant.
Or not, depending on what you believe , I'm not here to cause hate
