The doctor comforted the dying patient in their final moments.
Idiomatic Expressions for dying
Phrase: dead and dying
Meaning: in a state of decline or near failure
Usage: The company is in a dead and dying state, and drastic measures need to be taken to save it.