Found this and I believe it is relevant......
https://www.psychologytoday.com/au/blog/talking-apes/201808/why-do-people-believe-in-god
extracts:
"Mercier and colleagues divide the proximate causes of religious belief into three types: cognitive, motivational, and societal. One cognitive factor is an analytical thinking style. People who tend to act according to reason rather than
intuition are also less likely to believe in God. Perhaps relatedly, we also see a tendency for people who are higher in
intelligence to hold agnostic or atheistic beliefs. In contrast, people who are high in what’s commonly called “
emotional intelligence”—that is, the ability to easily discern the emotions and motives of others—also tend to be more religious. Of course, it’s exactly this ability to read others’ minds that led to the rise of religious belief in the first place, hundreds of thousands of years ago on the African savanna.
There are also motivational reasons for religious belief.
People who are socially isolated tend to have more religious faith, perhaps allowing them to feel they’re not truly alone. Likewise, people facing death are more likely to express faith in God and an afterlife. The old saying that there are no atheists on the battlefield is no doubt true to a large extent. Furthermore, faith in God increases when situations become uncontrollable, as in the case of natural disasters. Believing that God has a plan helps people regain some sense of control, or at least of acceptance.
Another motivational factor is self-enhancement.
If you live in a society where religion is prized, it’s in your best interest to say you believe, whether you truly do or not. I’m sure there are plenty of doubters in the pews at Sunday services, though none will admit it. (I was one of those for most of my teenage years.) And it’s not uncommon to hear stories of priests or pastors who’ve lost their faith but continue to preach because it’s the only way they can make a living
Finally, there are societal factors that influence the degree of religious belief within societies.
As a general rule, religious belief is considerably lower in developed countries compared with the underdeveloped world. For instance, Japan has one of the highest standards of living in the world, but only 4 percent of its population claims to be religious. Traditionally, Japan was a Buddhist country, and religion played an important role in the daily lives of the Japanese until after World War II. A similar trend has occurred in Western Europe, which many social scientists now characterize as “post-Christian.”
The United States, with its high standard of living and high
religiosity, is the glaring exception.
However, as Mercier and his colleagues point out, Japan and Western European have universal health care and extensive social safety nets, as opposed to the U.S. The Japanese and the Europeans know their governments will come to their aid in their hour of need. But the laissez-faire attitudes of American society make people’s futures less certain and the belief in a benevolent God more attractive.
Although many people in industrialized societies have abandoned traditional organized religion, many of them still confess to some sort of
spiritual belief, such as a life-force or divine spirit that pervades nature and humanity. As societies become affluent and egalitarian, perhaps people perceive less need for a benevolent God to keep watch over us. Organized religion may no longer be needed in such societies, but it’s still human nature to perceive agency in the complexity and unpredictability of the world, even when there is none.
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
It is pretty self explanatory, and in my opinion applicable in line with the philosophical nature this debate has moved into..