Loosing isn't failure
Giving up is. A bad day, a bad review or a bad meal should not have the power to drag you down. Feeling bad about yourself or some of your work is natural, everyone does that from time to time. But the negativity should only last for minutes, it is ok to have sad feelings, just not give it the power to colour your future dark. Tahe a lesson, learn frome yours and others mistakes and try your best to not repeat the fail again.