Language:
Free Online Dictionary|3Dict

转败为功

Source : CEDICT

to turn failure into success (idiom)