Hafiz said this quote

The activation or survival of happiness in one's mind doesn't depend on external things. All that it needs are some consistent positive interpretations of your life and its experiences.