“Crime is common. Logic is rare. Therefore it is upon the logic rather than upon the crime that you should dwell.”
Arthur Conan Doyle, The Adventures of Sherlock Holmes
Arthur Conan Doyle wrote this in The Adventures of Sherlock Holmes. It appears in The Adventure of the Copper Beeches.
Where it appears
“No, it is not selfishness or conceit,” said he, answering, as was his wont, my thoughts rather than my words. “If I claim full justice for my art, it is because it is an impersonal thing—a thing beyond myself. Crime is common. Logic is rare. Therefore it is upon the logic rather than upon the crime that you should dwell. You have degraded what should have been a course of lectures into a series of tales.”
From the public-domain edition, read it free.