As someone that has had one or two "deathbed" experiences, I can say two things struck me about them
1) I felt complete peace about dying. In fact, I had to reason myself towards wanting to live
2) I felt a level of clarity about what was important to me that I have never felt before (or since). I struggle to incorporate that into my life on an ongoing basis.
I think these experiences were a terrible gift. I would wish everyone experienced the clarity I had but I could not wish you had to go where I did to get it.