As I grew up, I went to church every, EVERY Sunday, after services, my brother and sister and I went to Sunday School, then when summer came, I went to Summer Church School. As a result, I did minor bad things, but I am not a sociopath, a psychopath, and mostly avoid criminal behavior. I'm moral.
I have not been a "good" person by some standards in my before-getting-married years. My excuse was a girlfriend I loved when I was 16 that literally killed me by dumping me with no warning, and no explanation. Asof October 2018 I still ask myself what happened. Yup, still!
But where I am going is that up thru maybe the 5th or 6th grade I was very much a Jesus follower. As kids did bad things, or tried to do bad things when I was around, I asked them, "What would Jesus do?", or I told them Jesus would not like that. It worked a lot. Sometimes when it didn't work I punched them in the nose. The bad kids would get a bloody nose and not do the "bad thing."
That is an excuse, I admit, but that is my excuse and you cannot take it away from me! I did bad things and acted out and had some bad behaviors from 16 to age 33 as I grew up. At age 33 I did not do anymore seriously bad things. I have not been perfect and have had some slips. But I am pretty "good" at age 71.
Therefore I suggest to every aren't, get your kid into church for the propaganda. You don't have to believe the magic stories, but you do have to hope your kid grows up with some morals, some internal soul that allows them to care for others.