I want my regret when I'm dying to be "I wish I could experience it all over again". What a wonderful "regret". Shows you had an amazing life.
Honestly, I feel that way about my life now. I don't want to die anytime soon, but if I was to die today, I would feel content with how I have lived my life and be grateful for how beautiful it was. And I've had hardships. I focus on gratitude. It's true, that does give your life optimism.