You should familiarize yourself with the concept of a "sunk cost"[0]. You'll probably be happier for it.
[0] https://en.wikipedia.org/wiki/Sunk_cost#Fallacy_effect