You may wish to read yoga sutras on swamij.com to see for yourself the profound insights of mind and its working expounded by the author Patanjali.
For instance, Yoga sutras starts with:The goal of Yoga is to regulate the modifications (tendencies) of mind,So the seer rests in its true nature.
The true nature of our consciousness (the seer) is existence-knowledge-bliss.
Hating someone or a group/race of beings is just a negative tendancy which has been adopted, often unconsciously, due to certain experiences in life. With stillness of meditation you can invite such thoughts witness them and remove clinging of mind toward them [0]. All methodologically.