Sigmund Freud said this quote

Religious doctrines … are all illusions, they do not admit of proof, and no one can be compelled to consider them as true or to believe in them.