These things are SHARED among many things, along with religion;
- we humans tend to form social hierarchies
- we all want to be belong
- we want to be the hero of our story
- life is hard, and death is terrifying, so we need lullabies
- some rules/codes required wherever there are more than 1 person alive. Be it religious, moral or written/legal.
- we all need some ideal to work towards
This however, is SPECIAL to religion;
Religion makes it a habit in believers to believe without evidence, forbits questioning, and delays answers to "afterlife". Hence takes away the power of understanding and reasoning.
It installs a backdoor to people's minds so to speak. From which all the other bullshit are welcome to come in and also take a seat in their mind.
Oh wait, there was this video that was explains these more elegantly than I can. Okay I've found it: https://twitter.com/billmaher/status/1357915846731997185