By religion I mean an institution that teaches moral standards to people and curtain practices to keep those standards alive in the minds of the people.
Your definition of religion doesn’t work. There are plenty of “institutions” that teach moral principles that aren’t based in religion; regular secular schools do this, also things like Kiwanis, Montessori, even Karate lessons and the Suzuki method.
I think that at the root of your question is the issue of whether morality needs to be taught. Taught, as opposed to what? Learned by experiment? Parents can’t let their children learn that they need to look both ways before crossing the street by experiment. We all have a lot of learning we have to do as we go from being helpless newborns to self-sufficient producers, and a most of it will be taught. The evidence is that for most of history this teaching has been tied up with religion, but not always, and not today. At least, not for most people in the US.
I find Joseph Campbell’s breakout of the functions of myth helpful for understanding religion and its historical cultural role.
Joseph Campbell, a leading scholar in the fields of mythology and comparative religion, explains that myth has four basic functions: metaphysical/mystical, cosmological, sociological, and pedagogical. Its metaphysical function is to awaken us to the mystery and wonder of creation, to open our minds and our senses to an awareness of the mystical “ground of being,” the source of all phenomena. Its cosmological function is to describe the “shape” of the cosmos, the universe, our total world, so that the cosmos and all contained within it become vivid and alive for us, infused with meaning and significance; every corner, every rock, hill, stone, and flower has its place and its meaning in the cosmological scheme which the myth provides. Its sociological function is to pass down “the law,” the moral and ethical codes for people of that culture to follow, and which help define that culture and its prevailing social structure. Its pedagogical function is to lead us through particular rites of passage that define the various significant stages of our lives-from dependency to maturity to old age, and finally, to our deaths, the final passage. The rites of passage bring us into harmony with the “ground of being” (a term often used by Joseph Campbell to refer to an unnamed, unspecified universal mystical power) and allow us to make the journey from one stage to another with a sense of comfort and purpose.
http://brainstorm-se…/mythology.html