I think that obstacles lead to growth and ultimately the most learning I've done in my life is between jobs.
That work led to the emergence of the recombinant DNA technology thereby providing a major tool for analyzing mammalian gene structure and function and formed the basis for me receiving the 1980 Nobel Prize in Chemistry.