You write something brilliant at three in the morning, but by the next afternoon you want to burn it. You query a dozen agents and no one asks for pages. Your agent has submitted to 50 publishers and no one is interested. Your novel is getting awful reviews left and right.
At every stage of your writing career, no matter how successful you are, you are going to get discouraged.