deaths doorstep

To be on deaths doorstep means to be very near death, such as someone who is gravely ill (gravely meaning near fatal; near death) or severely injured to the point that you will most certainly not survive with your injuries. When saying that someone is on deaths doorstep, it means that they are as close to death as they can be without actually being dead; that they have a fatal illness and will be dying very shortly.