Language:
Free Online Dictionary|3Dict

變害為利

Source : CEDICT

to turn harm into benefit (idiom)