Absolutely - research suggests that unless you are brought up to believe in the tenets of a particular religion then your likelihood of becoming an adherent of that religion is pretty well zero. That suggests what we are looking at is learned behaviour. Clearly it isn't very effective as plenty of people brought up to believe a particular religion reject that belief. But that doesn't mean it is not learned behaviour as the key point is that no-one simply comes to a particular belief unless they have been taught it, and usually they need to be taught it as a child for it to be believable.
Check Post 890.
It is science. Ok....for you I will copy it here again.
https://www.sciencedaily.com/releases/2020/09/200909085942.htmExcerpts..
***********
Individuals who can unconsciously predict complex patterns, an ability called implicit pattern learning, are likely to hold stronger beliefs that there is a god who creates patterns of events in the universe, according to neuroscientists at Georgetown University.
Our hypothesis is that people whose brains are good at subconsciously discerning patterns in their environment may ascribe those patterns to the hand of a higher power," he adds.
"A really interesting observation was what happened between childhood and adulthood," explains Green. The data suggest that if children are unconsciously picking up on patterns in the environment, their belief is more likely to increase as they grow up, even if they are in a nonreligious household. Likewise, if they are not unconsciously picking up on patterns around them, their belief is more likely to decrease as they grow up, even in a religious household.
"Afghans and Americans may be more alike than different, at least in certain cognitive processes involved in religious belief and making meaning of the world around us. Irrespective of one's faith, the findings suggest exciting insights into the nature of belief."
"A brain that is more predisposed to implicit pattern learning may be more inclined to believe in a god no matter where in the world that brain happens to find itself, or in which religious context," Green adds, though he cautions that further research is necessary.
"Optimistically," Green concludes, "this evidence might provide some neuro-cognitive common ground at a basic human level between believers of disparate faiths."
***********
It clearly states that children who have a subconscious awareness of hidden patterns grow up to believe in a God or superior being....
regardless of their nonreligious upbringing. Similarly, if they are not unconsciously picking up on patterns around them, their belief is more likely to decrease as they grow up,
even in a religious household.There are also thousands of instances of people who grow up under one religion but who later choose to shift to another religion. Many people choose religions that are very different from the earlier ones...such as Christians becoming Hindus or Buddhists.
Your point about children being taught religious beliefs, is therefore clearly wrong.