Epictetus said this quote

Make the best use of what is in your power, and take the rest as it happens.