Cites this verse
I answer that, As stated above (Question [112], Article [2]), a mortal sin is one that is contrary to charity. Now flattery is sometimes contrary to charity and sometimes not. It is contrary to charity in three ways. First, by reason of the very matter, as when one man praises another's sin: for this is contrary to the love of God, against Whose justice he speaks, and contrary to the love of his neighbor, whom he encourages to sin. Wherefore this is a mortal sin, according to Is. 5:20. "Woe to you that call evil good." Secondly, by reason of the intention, as when one man flatters another, so that by deceiving him he may injure him in body or in soul; this is also a mortal sin, and of this it is written (Prov. 27:6): "Better are the wounds of a friend than the deceitful kisses of an enemy." Thirdly, by way of occasion, as when the praise of a flatterer, even without his intending it, becomes to another an occasion of sin. In this case it is necessary to consider, whether the occasion were given or taken, and how grievous the consequent downfall, as may be understood from what has been said above concerning scandal (Question [43], Articles [3],4). If, however, one man flatters another from the mere craving to please others, or again in order to avoid some evil, or to acquire something in a case of necessity, this is not contrary to charity. Consequently it is not a mortal but a venial sin.
Summa Theologiae II-II, q. 115, a. 2: Whether flattery is a mortal sin? I answer that (tr. Fathers of the English Dominican Province)
Cites this verse
Reply to Objection 3: The reproof of the sinner, as to the exercise of the act of reproving, seems to imply the severity of justice, but, as to the intention of the reprover, who wishes to free a man from the evil of sin, it is an act of mercy and lovingkindness, according to Prov. 27:6: "Better are the wounds of a friend, than the deceitful kisses of an enemy."
Summa Theologiae II-II, q. 32, a. 2: Whether the different kinds of almsdeeds are suitably enumerated? Reply to Objection 3 (tr. Fathers of the English Dominican Province)