What Does It Mean?

You are correct!

From our dictionary:
Pyr'rhic vic'tory


a victory or goal achieved at too great a cost. Cf. Cadmean victory.