Pyrrhic victory

noun

1.
a victory that is won by incurring terrible losses