Among the smaller duties of life I hardly know any one more important than that of not praising where praise is not due.

Sydney Smith (1771-1845) English clergyman, essayist, wit
Lecture (1804-1806), Moral Philosophy, No. 9 “On the Conduct of the Understanding,” Royal Institution, London
    (Source)

Collected in Elementary Sketches of Moral Philosophy (1849).