Earlier quoted context omitted.
It goes beyond fairy tails. There is a sense of community that (for the most part) only religion has been able to maintain in the information age.
That's a lie that religions keep perpetuating. Many social groups exist that are just as fulfilling. My gym for example is full of people who actively work in the community, help each other and gather multiple times per week to better themselves and encourage their community. Religion has nothing to offer that secular society cannot offer. It does offer a lot of downsides though.
Similar to ethnic nationalism, it can and throughout history has provided the glue that holds groups together when they are in conflicts with other groups.
Unlike a secular club, religion cements this power inter-generationally by insinuating itself into the key human institutions of marriage, reproduction, child rearing, and membership in the religion. If you look at any ethno-religious state in the world (i.e. many middle eastern countries), they function this way.
The experiment of a secular national identity (based on shared beliefs about people's rights and dignity) is the only institution that can effectively fulfill this aspect of religion, but as we are now seeing, it can also stumble if it doesn't tend to the needs of its constituents well enough.