Some experts believe that mindfulness works, in part, by helping people to accept their experiences—including painful emotions—rather than react to them with aversion and avoidance.
It’s become increasingly common for mindfulness meditation to be combined with psychotherapy, especially cognitive behavioral therapy. This development makes good sense, since both meditation and cognitive behavioral therapy share the common goal of helping people gain perspective on irrational, maladaptive, and self-defeating thoughts.
https://www.helpguide.org/harvard/benefits-of-mindfulness.htm/