to turn peril into safety (idiom); to avert disaster
Turn 化险为夷 into a printable worksheet PDF with Tianzige practice grids and pinyin.