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
Not everything that glitters is gold.
Each sandpiper praises its swamp.
Do not dig a hole for another one, you will fall into it yourself.
Live for a century, learn for a century, but die being a fool anyway.
In a healthy body, healthy mind.
If you like sledding, you should like to carry the sled.
A bird is visible by its flight.
The eyes are scared, but the hands are doing.