Gustave Flaubert said this quote

Leon was weary of loving without any result; moreover he was beginning to feel that depression caused by the repetition of the same kind of life, when no interest inspires and no hope sustains it. He was so bored with Yonville and its inhabitants, that the sight of certain persons, of certain houses, irritated him beyond endurance; and the chemist, good fellow though he was, was becoming absolutely unbearable to him. Yet the prospect of a new condition of life frightened as much as it seduced him.