かぜがふけばおけやがもうかる

風が吹けば桶屋が儲かる

N3Expression
Expression, Godan verb (ru ending)
any event can bring about an effect in an unexpected wayif the wind blows the bucket makers prosper