days are numbered

дни сочтены
days are numbered
Meaning: that something/someone is soon going to die or cease to exist

Example: "His days are numbered now that he's gone and robbed those drug dealers. Once they find him they will kill him without hesitation."

as good as dead

He's as good as dead now that he's gone and robbed those drug dealers. — Он взял и ограбил торговцев наркотиками — ему конец (его дни сочтены).

in a bad way/at death's door (on the point of dying)
на пороге смерти, при смерти, одной ногой в могиле

I hear Dr Dyer is at death's door. ~ Yes, that's true. He's in a very bad way. The doctor doesn't think he'll live.