Anton Chekhov said this quote

You're not content in your position as a factory owner and a rich heiress, you don't believe in your right to it, and now you can't sleep, which, of course, is certainly better than if you were content, slept soundly, and thought everything was fine. Your insomnia is respectable; in any event, it's a good sign. In fact, for our parents such a conversation as we're having now would have been unthinkable; they didn't talk at night, they slept soundly, but we, our generation, sleep badly, are anguished, talk a lot, and keep trying to decide if we're right or not.- A Medical Case