Edward Abbey said this quote

[I]t is the writer's duty to write fiction which promotes virtue, the good, the beautiful, and above all, the true. ... It is the writer's duty to hate injustice, to defy the powerful, and to speak for the voiceless. To be ... the severest critics of our own societies.