Sometimes the things that seem to be adversities turn out to be opportunities in disguise.
or simply: