Alice Duer Miller said this quote

If it's painful for you to criticize your friends, you're safe in doing it; if you take the slightest pleasure in it, that's the time to hold your tongue.