People used to die living with their family. Perhaps they died earlier, and sure there were some problems with that setup, but I don't think it was necessarily worse for the dying. It was certainly cheaper for everyone.
I don't know anyone who wanted to go to an elder care home. My grandma spent her last three months in an elder care home: all she talked about was going home.