Not so.
This was Watson's impression when he first met Holmes.
What Holmes hated was the so-called literature that moaned for no reason.
And he believed that it had nothing to do with detective work. Irrelevant things must be expelled from the brain,
but this does not mean that things related to the detection should also be expelled.
The same is true for literature.