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.
Rick Hanson, Buddha's Brain: The Practical Neuroscience of Happiness, Love, and Wisdom
mindfulness, neuroscience