so ill / sick that you may die
Oxford100% of films
The dear boy's been at death's door.
If Brandon is infirm, then I am at death's door.
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition