This proverb is a work of fiction from Iain M Banks in latest novel Matter, but it could well be for real:

One hundred idiots make idiotic plans and carry them out. All but one justly fail. The hundredth idiot, whose plan succeeded through pure luck, is immediately convinced he’s a genius.