Ernest Hemingway said this quote

The most essential gift for a good writer is a built-in, shock-proof, shit detector. This is the writer's radar and all great writers have had it.