Logical fallacy

Sunk-cost fallacy

An option is continued because time, money, or effort has already been invested and cannot be recovered. That past cost does not establish that continuing has better future benefits and costs than stopping.

Two old tickets on a table beside an empty theater seat

Examples

We already bought tickets and cannot get a refund. Even though we would enjoy staying home more and gain nothing from attending, we should go because we paid.
The money cannot be recovered either way. The choice depends on what attending or staying home would provide now.
We spent three years building the obsolete tool. We should spend more to keep it alive solely because those years are gone.