Abhijit Naskar said this quote

Any thought sequence that minimizes anxiety would get reinforced over time. The sequence would be maintained during the person’s development and would be provoked in contexts where refutation of the belief might occur. So, any kind of refutation of a person’s religious beliefs makes the beliefs only stronger.