Victor Hugo said this quote

Thought is the labour of the intellect reverie is its pleasure.