Pyrrhic (‘pir-ik) adjective
Achieved at excessive cost (a Pyrrhic victory); also : costly to the point of negating or outweighing expected benefits (a great but Pyrrhic act of ingenuity)
Etymology: Pyrrhus, king of Epirus who sustained heavy losses in defeating the Romans