I think human beings are wired for a number of different attributes, that make them susceptible to believing what their elders teach them, regardless of how implausible that teaching may seem.
Parents are wired to want the best for their kids, so they indoctrinate them early, hoping they will grow up to be "god-fearing" adults, and make it into Heaven.
Kids are wired for curiosity, and wired for gullibility. Either one can be used by, a parent or authority figure, to train the uninitiated in the dogmas of faith.
Most people are wired to anthropomorphize the inanimate - attributing conscious intentions to random events. I still occasionally find myself getting angry at objects, when they give me difficulty.
People are wired to try to control their world, including the other people in it. God is more of a means to an end than anything else. Prayer controls the weather's behavior, and holy proclamations control other people's behavior.
A religion free upbringing, and secular education, should eliminate most of the tendency to believe in a god.