mìng​zài​dàn​xī

to be at death's door