絕處逢生

Idiom

 * 1) to get saved at a critical moment; to survive a crisis; to be unexpectedly rescued from a desperate situation