Learning these things in spades over here...
Unsolicited writing advice, no. 763: Having a tough time? Good. Got a rejection? Good. Got a bad review? Good. Had to abandon a project because it wasn't working? Good. These things all teach you resilience, patience and determination; the things you need most as a writer.