sǐ​dào​lín​tóu

to be at death's door