With accent marks:
Нет ху́да без добра́.
There is no bad withouth good.
You can always get something useful from any difficult situation.
The closest English equivalent: every cloud has a silver lining.
Other Russian proverbs
We got what we fought for.
All is well that ends well.
You can't command to the heart.
With a darling, even a hut is a paradise.
Crowded, but not aggrieved.
The demon is not as scary as he is depicted.
Time for business, an hour for fun.
One head is good, but two ones are better.