And yet in our world everybody thinks of changing humanity, and nobody thinks of changing himself.
Leo Tolstoy (1828-1910) Russian novelist and moral philosopher
Pamphlets, “Some Social Remedies,” “Three Methods of Reform” [tr. Free Age Press (1900)]
(Source)
More common variant: "Everyone thinks of changing the world, but no one thinks of changing himself."