This quote is all over the usual trashy places - goodreads, brainyquote, facebook, etc - but I can see no reliable source cited for it, and it's absent from Confucius's wikiquotes page, including anything remotely resembling it. Likewise, looking through The Analects draws a blank.
For early...