D. H. Lawrence said this quote

The essential function of art is moral. But a passionate, implicit morality, not didactic. A morality which changes the blood, rather than the mind.