反敗為勝

Idiom

 * 1) to turn the tables; to turn defeat into victory