Epictetus said this quote

Freedom, you see, is having events go in accordance with our will, never contrary to it.