Happiness is a state of non-attachment. –Anthony De Mello
If we don’t attach ourselves to a desired outcome, person or thing then when we have it/her/him no longer we don’t lose happiness. It’s not easy to appreicate something without feeling attached to it. It is human nature to attach ourselves to things or people so that we feel a sense of security.