Rick Hanson said this quote

The point is not to resist painful experiences or grasp at pleasant ones: that's a kind of craving - and craving leads to suffering. The art is to find a balance in which you remain mindful, accepting, and curious regarding difficult experiences - while also taking in supportive feelings and thoughts.