A lot of times it’s better to be a quitter than a hero.
“For example, let’s say you think a task can be done in two hours. But four hours into it you’re still only a quarter of the way done. The natural instinct is to think, ‘but I can’t give up now! I’ve already spent four hours on this.’ So you go into Hero Mode. You’re determined to make it work, and slightly embarrassed that it isn’t already working. You grab your cape and shut yourself off from the world. And sometimes that kind of sheer effort overload works. But is it worth it? Probably not. The task was worth it when you thought it would cost two hours, not 16. In those 16 hours you could have got a bunch of other things done. Plus, you cut yourself off from feedback which can lead you even further down the wrong path. Even heroes need a fresh pair of eyes sometimes.”
Rework, Jason Fried and David Heinemeier Hansson. Chapter 13, 1m 55s