According to a web site,
the followings are the main regrets just before one dies.
I should have ...
1. lived in my way
2. spent my time for other things than work
3. said what I wanted to say
4. cared about my friends
5. made myself happier
But I would say
0. made more effort to help one be happier
I'd like not to have these regrets happen at the time, though.
It would be the best when one's happiness is my happiness.