無心插柳柳成蔭

Idiom

 * 1) to do something which unintentionally returns positive results