I think about this every day. In the Netherlands, if a person dies alone, without any family or friends as mourners, a poet will be sent to write a poem and read it at the burial service. It's called the Lonely Funeral Project, and it's just humans being good humans.