yet the child might transfer the belief of god to the teacher.<quoted text>Well yes, statistically a child will believe in whatever god, prophet or deity you teach him. 80% do stay in that belief system for life.
Now does this mean the god(s) are real? Nope.
One can be taught to do good without a god.
where is your god now?