Pyrrhic victory

noun

Definition of Pyrrhic victory

: a victory that is not worth winning because so much is lost to achieve it