Language:
Free Online Dictionary|3Dict

转祸为福

Source : CEDICT

to turn a disaster into a blessing (idiom)