Epictetus said this quote
“ Philosophy does not claim to secure for us anything outside our control. Otherwise it would be taking on matters that do not concern it. For as wood is the material of the carpenter, and marble that of the sculptor, so the subject matter of the art of life is the life of the self. ”