A Pyrrhic Victory is one achieved at such a cost that it is almost indistinguishable from defeat. It seems the term derives from the bellicose antics of Pyrrhus (319-272 BC), King of Epirus, who twice beat the Roman army, but with casualties so crippling that one commentator wrote, " One more such victory and we are lost."
Courtesy of Schott's miscellany