From today’s Writer’s Almanac:
[Shaw] spent his days in the British Museum Reading room, reading and writing, but his first five novels were all rejected. He caught smallpox while writing one novel, managed to complete it in spite of his illness, and then saw it rejected too.
There’s a lesson in that, I’m sure.