Charles Dickens is one of my favorite writers. This quote is taken from his most autobiographical novel David Copperfield, published as a serial from 1849 to 1850.
If you want to read this book, you can find it here: David Copperfield by Charles Dickens.