Sunk costs
This guy provides a great example of the sunk cost fallacy
Wikipedia definition of the Sunk Cost Fallacy.
Key thing to remember: Your time is worth a certain amount of money, or higher (you may die sooner than you think). If possible, avoid things that decrease the value of your time.