You have two types of writers: one like Proust who was locked in his room and wrote the masterpiece. And the other type was Hemingway who celebrated life and also wrote a masterpiece.
And if I'm alone in bed, I will go to the window, look up at the sky, and feel certain that loneliness is a lie, because the Universe is there to keep me company.