It’s easy to write and continue to write when things are going well. The character you created is behaving just how you planned. The plot is writing itself. You sold a story.
The true character of a writer comes to light when things aren’t going so well. The plot is going nowhere, your character is one dimensional, and you just got another rejection.
Being a writer means taking the good with the bad. You carry on writing no matter what.