Did you mean Pyrrhic?
Pyrrhic
adjective
°achieved at excessive cost.