Really sorry for your loss. It’s a shame he didn’t make it home but he was probably in the right place.
We had similar with my mother in law a few years ago and I know that the hospital provided better care and support, not only for her but also the family than any of us could have done.
Not much consolation I know but keep your chin up.