I guess you cannot plan to work your whole life, as you already mention there may be health issues. And don't forget that the younger generation will overtake you anytime, they are filled with energy, innovative ideas and more technology savvy.
Moral : Money or earning all your life won't get you any satisfaction.