Hafiz said this quote

It is impossible not to live miserably if one chooses to frequently focus on one's disappointments, mistakes, failures, weaknesses, difficulties, and people's negative opinions.