There are reproaches that compliment, and compliments that disparage.

François VI, duc de La Rochefoucauld (1613-1680) French epigrammatist, memoirist, noble
Réflexions ou sentences et maximes morales [Maxims], #148 (1665) [tr. Kronenberger (1959)]