Euripides said this quote

There is in the worst of fortune the best of chances for a happy change.