The only way not to be unhappy is to shut yourself up in Art and count all the rest as nothing. One's pride, if it is well founded, makes up for everything else.
Letter to Alfred LePoittevin, 13 May 1845. As quoted in: The Letters of Gustave Flaubert: 1830-1857 (Harvard University Press, 1980)