William Shakespeare said this quote

One pain is lessened by another’s anguish. ... Take thou some new infection to thy eye, And the rank poison of the old will die.