Sigmund Freud said this quote

Perhaps the hopes I have confessed to are of an illusory nature, too. But I hold fast to one distinction. Apart from the fact that no penalty is imposed for not sharing them, my illusions are not, like religious ones, incapable of correction.