Is religion the combined consciousness of some humans in the early days of time?

in more detail my question is that, Is religion the cultivated belief system of the majority of people in the world , created over time with a supported stories and accounts of bad things happening of people talking of what things happened to them and how that made them feel which in result made that action wrong and vice versa with good accounts. then listed down in a supernatural story to create interest of people so they would follow it. which in return controls them but from the good actions of other in the beginning was to only pass down knowledge of bad and good things. which they didn't want to happen again. it contains what they should not want and what they should want. in later years mis interpreted and distorted into something different which then creates a spiritual bases for it because these people want it to have one. is religion just a guide to live with myths added on so it would be interesting book?
 
Top