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
The morning is wiser than the evening.
Strike the iron while it's hot.
Everything has its time.
Get your sleigh ready in summer and your (horse-drawn) cart in winter.
A well-fed man does not understand a starving one.
Do not chop the branch you sit on
Water does not flow under a lying stone.
A bad example is contagious.