Quoted word for word, in order of authority: the Church's councils, popes and catechisms first, then the Fathers, then later saints and Doctors, then Catholic commentators.
Reply to Objection 1: The prophet hated the unjust, as such, and the object of his hate was their injustice, which was their evil. Such hatred is perfect, of which he himself says (Ps. 138:22): "I have hated them with a perfect hatred." Now hatred of a person's evil is equivalent to love of his good. Hence also this perfect hatred belongs to charity.
Summa Theologiae II-II, q. 25, a. 6: Whether we ought to love sinners out of charity? Reply to Objection 1 (tr. Fathers of the English Dominican Province)
Catholic commentators
Fr. George Leo Haydock
Priest and commentator · 1774 to 1849
Explains this verse
Hatred. Christ commands, "Love your enemies;" not those who hate God. S. Aug. --- We must love in them what God loves, and detest what he condemns. Theod. --- The Jews abuse this passage, thinking they might hate those who were not of their nation. C. --- The example of the prophet might have rectified them. Bert. --- Fervent zeal against God's enemies is commendable.
Haydock Catholic Bible Commentary (1859), note on Psalms 138:22
To cite this page: The Summa, “Psalm 138:22”, https://thesumma.org/read/bible/ot/psalms/138/22. Every quotation names its source; where each text comes from is listed on Sources and corrections.