so religion, or rather, belief, can be used to control.
Which in the end is what oganized religion is all about...
CONTROL
Religion as a social structure pre-dates governments. In any social group there must be rules to live by else it's members tend to kill each other off.
In a tiny group its enough that the the strongest make the rules and enforce them thru sheer strength.
In a group of 30 or more it takes more than brute force rule for the group to thrive - thus evolved shamanism - organized religion in it's most primitive form.
Most - if not all - rules of any organized social group exist to maintain harmony and social order. They make little or no sense to the rabble. Even if the rules do make sense to the strong and/or intelligent they have no real incentive and/or disincentive to obey them (the universal rule against adultery for example). It is the lack of incentive/disincentive that resulted in the social construct of religion.
Why? Because adding a higher and feared authority
* to the mix than just the word of a wise one worked to maintain harmony in the group more successfully than other constructs that may have developed and went the way of the dodo because they didn't work.
For example:The local wise man - no matter how wise and respected - points out that fooling around with the wife of the guy in the next hut over tends to create hate and discontent at best and murder at worst and folks say to themselves - ehhhhh - not in my case - its OK for ME to fool around with Bog's ole lady - won't be a problem. Bog on the other hand would probably disagree with the no problem take of his neighbor.
Same guy says GOD orders you not fool around with Joan next door or <insert devine retribution of your choice here> and the rabble - at least most of them - listen and obey.
End result - less societal friction.
Same is as true today with all of our more advanced forms of religion as it was 40,000 years ago. The only differences are the costumes the shamans wear and the power they wield. The rules are still essentially the same.
Organized religion provides a common belief and moral system for groups. It keeps things running smoothly at least until different belief systems clash but then that's another thread entirely.
Organized religion is fine for the masses - it gives them a crutch to lean on when times are hard, rules to live by and for many even a reason to live.
Organized religion is a necessary institution for society to thrive as a group. It just isn't necessary for some individuals.
*Yeah - yeah - GOD is love and all that and faeces smells like roses too. The foundation of control in every religion that has ever been is the absolute fear of its deity and the retribution that deity will exact for failure to adhere to its proclaimed moral code. EVERY Religion. Especially the 4 main ones on the planet today. Even buddhism which comes as close as a religion can come to not being based on fear of its deity has built within it the fear that if one doesn't live according to the established rules one just might get reincarnated as a dung beetle or something.