Hafiz said this quote

If worrying cannot get you out of a negative condition, liberate yourself from it by all means, and focus fully on finding solutions.