David Hume said this quote

Reason is, and ought only to be the slave of the passions.