Being constructively critical is good, as long as your purpose is to improve your methods for future endeavors. Lying in bed and replaying failures and telling yourself you're stupid is a tremendous disservice to your efforts and what you can offer the world.
Chris Hardwick (2011). “The Nerdist Way: How to Reach the Next Level (In Real Life)”, p.223, Penguin