pyrrhic
US /ˈpɪr.ɪk/
UK /ˈpɪr.ɪk/

1.
a victory that inflicts a devastating toll on the victor, making it tantamount to a defeat
:
•
The battle was a Pyrrhic victory for the invading army, as they lost most of their forces.
•
Winning the lawsuit turned out to be a Pyrrhic victory, as the legal fees bankrupted the company.