John Dewey said this quote

. . . have not some religions, including the most influential forms of Christianity, taught that the heart of man is totally corrupt? How could the course of religion in its entire sweep not be marked by practices that are shameful in their cruelty and lustfulness, and by beliefs that are degraded and intellectually incredible? What else than what we can find could be expected, in the case of people having little knowledge and no secure method of knowing; with primitive institutions, and with so little control of natural forces that they lived in a constant state of fear?