Few bad or evil things can have some good consequences. Unintended mostly.
Friedrich Nietzsche claimed- war built courage & honor in men.
Black plague of 14th century that annihilated third of Europe's population may have caused emergence of the Renaissance.
Tragic crash of meteor 65 million years ago wiped out dinosaurs giving a chance to rat like mammals to launch their bid to rule the earth one day in future.
Leave alone these big things. Even a minor (not so minor for those like me who suffer from it) ailment like common cold too can have a positive fall-out.
Artist : Sidney Hoff published The New Yorker March 5 1960
BTW- man may achieve whatever. For example virtual sex as in Minority Report. But he will not stop dreaming of eradicating common cold. Good luck!