Clearly a repudiation of religion rests on evidence, as does science. This leaves open the question of where one finds evidence, and the personal context in how one perceives, interprets that information. Yes, scientists are capable of errors, whether by:
1. Erroneous deductions (rationalisations)
2. Maligned interpretation of facts
3. Rationalism or empiricism - distrust of ideas or perception
Religion is for the most part a repudiation of objectivity for the sake usually of some fear-based indulgence.