Epictetus said this quote

Freedom is the only worthy goal in life. It is won by disregarding things that lie beyond our control.