命在旦夕

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

夕

xī

(bound form) sunset; dusk