no hay mal que por bien no venga

Proverb

 * 1) every cloud has a silver lining
 * 2) blessing in disguise