But a peaceful death at home is rarely real in my opinion. My father was pretty badly traumatized by his mother who had oral cancer, got a bit through treatment and then refused to continue. His last days with her were spent as she slowly starved and went through terminal dehydration, barely conscious through the drugs hospice used to try and make the passage easier. It's something we tell ourselves post-hoc to try and make ourselves feel better because they died at home with family.
This doesn't mean dying in a hospital is much easier and often family keeps people in a state of semi-torture so that they can have more time. But that I think sometimes we have this 'ideal' of how we want to die, and the reality will always be much messier than that.