I think religions are formed for a number of different reasons, and fear of death seems to be only one of many factors behind what motivates individuals to turn to them, not the core reason. That's too reductionist of a view for me. We're much too complex as individuals and societies and cultures to reduce it to that one simple variable, even though that is certainly there for many.
The formation of religions many times, though not all times, begins with someone who has had a mystical experience, an awakening moment. They find liberation of spirit and mind and their new perspectives on the world offer insights and hope to their contemporaries, who are looking for a way through whatever struggles and hindrances their current circumstances are creating for them. The simplicity of their founder's vision symbolizes their hopes, and certain realizations are imparted to them which inspire and offer relief on their path as seekers of that Light their Master has discovered. And as this spreads as a movement of students, or devotees, it snowballs collecting more and more people coming with all sorts of expectations and hopes, further and further out from the core inspirations of the center of the snowball. It now becomes this mass full of grass and leaves and sticks and dirt from the ground as it grows in size picking up everything in its path. (I live in a Northern area with lots of snow, hence the metaphor).
I tend to think the fear of death part in those who become a part of a larger religion formed around a mystic center is operating much more at the level of those picked up out of society into it due to its mass. Such a religion is less in touch with its mystical core now and is seen and known as this big dirty snowball. But it nonetheless serves its function in society now as this glue that holds all this debris together with the stickiness of the clean snow. And so despite its inclusion of those coming to it to with all manner of social and existential anxieties, looking for a quick fix to their problems, looking for a shortcut to Nirvana, a shortcut to Salvation, this does not define what that core of the mass is, which is a mystical realization and freedom from that fear.
Of course there are other reasons religions are formed, around political movements, a strong charismatic personality who sees themselves as the savior of mankind driven by an enormous ego, and so forth. None of these are really "spiritual" at its core, but rather social and political, or ideological, cultural, military as well. I won't go into those here.
The formation of religions many times, though not all times, begins with someone who has had a mystical experience, an awakening moment. They find liberation of spirit and mind and their new perspectives on the world offer insights and hope to their contemporaries, who are looking for a way through whatever struggles and hindrances their current circumstances are creating for them. The simplicity of their founder's vision symbolizes their hopes, and certain realizations are imparted to them which inspire and offer relief on their path as seekers of that Light their Master has discovered. And as this spreads as a movement of students, or devotees, it snowballs collecting more and more people coming with all sorts of expectations and hopes, further and further out from the core inspirations of the center of the snowball. It now becomes this mass full of grass and leaves and sticks and dirt from the ground as it grows in size picking up everything in its path. (I live in a Northern area with lots of snow, hence the metaphor).
I tend to think the fear of death part in those who become a part of a larger religion formed around a mystic center is operating much more at the level of those picked up out of society into it due to its mass. Such a religion is less in touch with its mystical core now and is seen and known as this big dirty snowball. But it nonetheless serves its function in society now as this glue that holds all this debris together with the stickiness of the clean snow. And so despite its inclusion of those coming to it to with all manner of social and existential anxieties, looking for a quick fix to their problems, looking for a shortcut to Nirvana, a shortcut to Salvation, this does not define what that core of the mass is, which is a mystical realization and freedom from that fear.
Of course there are other reasons religions are formed, around political movements, a strong charismatic personality who sees themselves as the savior of mankind driven by an enormous ego, and so forth. None of these are really "spiritual" at its core, but rather social and political, or ideological, cultural, military as well. I won't go into those here.