Wise men have said more foolish things,—and foolish men, I don’t doubt, have said as wise things.
 Oliver Wendell Holmes Sr., The Autocrat of the Breakfast-Table (1858). copy citation

Context

“—Whether I said any or all of these things to the schoolmistress, or not,—whether I stole them out of Lord Bacon,—whether I cribbed them from Balzac,—whether I dipped them from the ocean of Tupperian wisdom,—or whether I have just found them in my head, laid there by that solemn fowl, Experience, (who, according to my observation, cackles oftener than she drops real live eggs,) I cannot say. Wise men have said more foolish things,—and foolish men, I don’t doubt, have said as wise things. Anyhow, the schoolmistress and I had pleasant walks and long talks, all of which I do not feel bound to report. —You are a stranger to me, Ma’am.—I don’t doubt you would like to know all I said to the schoolmistress.—I sha’n’t do it;—I had rather get the publishers to return the money you have invested in this.” source