Hafiz said this quote

Living happily is a matter of not permitting one's challenges to interfere with one's daily blessings.