Gustave Flaubert said this quote

One can be the master of what one does, but never of what one feels.