Hafiz said this quote

If the thought of it brings sorrow to your mind, then by all means place a positive interpretation on it and then switch your focus to what brings you joy.