This aligns very much with what I frequently say about happiness and sadness--like pain and pleasure, each are fleeting and signaling feelings from which to learn and the emotionally intelligent seek ever higher baseline levels of contentment, which does not mean to settle--it is a space within which serenity exists.
You might check out this short form post I created last year https://medium.com/illumination/pursuing-happiness-only-leads-to-turbulent-discontentment-from-chasing-something-unsustainable-5f71c2fb015c and if it pleases and/or interests you to do so, some of the many stories to which I linked therein, both mine and those of others.