Seneca said this quote

To win true freeedom you must be a slave to philosophy.