at deaths door

at death's door  {adj.} or  {adv. phr.}
Very near death; dying.
He seemed to be at death's door from his illness.
Categories: adjective adverb death