Why optimize for the contentment of one moment of your life? There's no way to know, usually, how such will play out. I think people should optimize for every day contentment with an eye toward the future. I.e. Periodically evaluating how content they feel and making due adjustments.
Dying is but a moment.