There are absolutely 1000's of of references for this on the web.
I recommend this as a starting point:
"They say, best men are molded out of faults,
And, for the most, become much more the better
For being a little bad."