David Hume said this quote

Generally speaking, the errors in religion are dangerous; those in philosophy only ridiculous.