Hafiz said this quote

It is impossible for one to become happy in life, if one keeps holding on to the thoughts and beliefs that caused one's misery in the first place.