“Conventionality is not morality. Self-righteousness is not religion. To attack the first is not to assail the last.”
Charlotte Brontë wrote this in Jane Eyre. It appears in Preface.
Where it appears
Conventionality is not morality. Self-righteousness is not religion. To attack the first is not to assail the last. To pluck the mask from the face of the Pharisee, is not to lift an impious hand to the Crown of Thorns.
From the public-domain edition, read it free.