命在旦夕

mìng zài dàn xī

to be at death's door (idiom)

mìng

life

zài

to exist; to be alive

dàn

(literary) dawn; daybreak

(bound form) sunset; dusk