I do believe that there is something in religion that makes human beings function. In the 20th century their were a number of atheist leaders that created the most oppressive regimes ever. One only has to look at Stalin, Lenin, Zedong to realize how bad things were when tyrants like those get into control.
Hitler is always given out as the bad apple amongst that lot - but compared to Zedong (an estimated 72 000 000 killed) and Lenin and Stalin (an estimated 52 000 000 killed) he was not an expert like the other 2. There must be something people believe in to survive the horror they were subjected to.
For many in Russia the people retain their religious beliefs as a beacon of hope for the future, They were basically Christians - but in some republics forming the USSR there were large numbers of Muslims as well. In such an environment of atheist terror what else could people do to retain a semblance of hope in life, In desperation they turned to religion as a beacon of hope. In China there are a variety of religions remaining - and despite the terribly cruel lunacies of the regime they survive.
My ow n problem is that one must wonder why we are on earth in the first instance - are we here just as a means for the birth of the next generation. If that be the case why were we given the brain capacity we are blessed with, If we are here only to die and be cremated or buried and that is the end of it? Then we did not need the thinking ability we have developed. That to my mind would mean that we are all fatalists if there is no hope for any of us after death.
Religion is the basis on which the modern world has been developed and religious laws the basis for the present legal system in developed countries - whether we like It or not the basis for our legal prescripts have been developed over many years,
I do not like to be prescriptive to others since I believe that people should be free to do as allowed for in democratic countries, That is why I believe that the constant discussions on religious issues on this site is out of line, .