When a child is hungry you give them something good to eat, not a bowl of crap. When a child asks about the world outside the home they are given fairy tales, to teach them hard learned lessons of the distant past.
The idea of a good being rewarded and bad being punished is most likely just a teaching about cause and effect.
Yes if a person takes the stories in scripture literally they are more likely to believe anything ridiculous and become easy prey for every sort of foul and loathsome beast and bird on earth, like those who were conned into "believing" that trump was going to save democracy from communism with fascism. derp. Such is the power of what the ancients called sorcery, the magical arts, what is now well known as brainwashing or mind control.
The possessed is a victim of mind control, the devil is the scumbag who fucked up their mind to control them.
That why I think children who haven't learned anything about the sciences, history, or literature, etc., should be shielded from religious indoctrination as it can be and is harmful, detrimental, even lethal, to the developing mind.