Arthur Conan Doyle said this quote

My dear Watson, you as a medical man are continually gaining light as to the tendencies of a child by the study of the parents. Don't you see that the converse is equally valid. I have frequently gained my first real insight into the character of parents by studying their children.”—Sherlock Holmes, “The Adventure of the Copper Beeches