Samuel Butler (4 December 1835 – 18 June 1902) was the iconoclastic English author of the Utopian satirical novel Erewhon (1872) and the semi-autobiographical Bildungsroman The Way of All Flesh, published posthumously in 1903. Both have remained in print ever since. In other studies he examined Christian orthodoxy, evolutionary thought, and Italian art, and made prose translations of the Iliad and Odyssey that are still consulted today. He was also an artist.
You may find more from Samuel Butler on Wikiquote
What mattered was not what happens to you, but how you handle it. Self-command is required to overcome the dangerous misinformation of our emotions, and because for the most part the self is the only thing that we can command. We have no control, ultimately, over what people do or think. What we can influence is our understanding of these circumstances and how we respond to them.