Transform emotions
The Buddha Dharma is for clearing all the impurities of the mind.
There is nothing in the Dharma which is not aimed at clearing our negative emotions. There is nothing in the Dharma that is not a direct antidote for our negative emotions.
In some teachings, sometimes attachment is the main target to work on and sometimes the main practice, or the main target, is aversion or anger, and sometimes ignorance is the main practice.
According to the teachings, there are different kinds of methods and different levels of teachings to suit different needs.