one foot in the grave

To have one foot in the grave means to say that this person is either very old and likely to die soon or sometimes used for people very ill or with a critical illness that most likely will lead to death shortly. It is a phrase which was used as a kinder way to someone will probably die soon, but occasionally simply as a sarcastic phrase for explaining how old somebody is.