Religions don't exist without the people. The scriptures have no narrative power if they are not told by people to people. The rites and traditions only serve to reinforce habits and pass themselves down throughout time to new people. The religion evolves with the people because keeping followers become the fitness function.
No religion knowingly offers its followers "bad teachings". Anybody who thinks a religion has "bad teachings" quickly becomes an impostor and gets pushed out. The self selection means that there are no "bad teachings".
Also, you are trying to pretend like the choice is only applied by the cognitive brain by the individual human at the time of an action. This ignores both group psychology and the role of habits / indoctrination.
The Catholic Church internal policies target the ages of 4-14 for indoctrination and habit forming. What 10 year old will resist their parents, resist their church authority figures, resist all of the teachings of thousands of years of their people, resist the "word of God", have the knowledge and self awareness to know the difference between God's voice and typical bipolar ruminations?