Most old people do not die in hospitals. They go to the hospital with a very serious problem. After they are stabilized at the hospital they are discharged to a skilled nursing facility, to a hospice, or home. They die at the skilled nursing facility, the hospice, or at home. That is the way it has worked for my elderly parents and relatives.
Mine too. They get palliative care only. Just try to make them comfortable.