Never!
Whatever doesn’t kill you, makes you stronger. When going through a tough period, you can learn a lot about yourself, and then come back bigger and better and stronger. Never declare defeat by yourself, never throw in the towel, and never declare yourself beaten.