The Buddha offers us the recipe of cultivating a strong and clear concentration, mindfulness and investigation rooted in kindness that allows us to learn to experience the extremes and the subtleties of difficult emotions without getting caught by them. It's as though we learn to see them so clearly that we see through them and see their nature, just like we see through the colors of a rainbow.
Taking a look at the active force of samadhi/concentration... the unperturbed, peaceful and lucid state of mind attained by the practice and process of mental concentration.