Reading the Bible and going to church
do not have to be connected.
Children tend to associate things that are not logically connected. Grown-ups need to help them separate the issues. But that requires we be aware of the unconscious connections we have in our own mind.