James Dyson spent 15 years and 5,126 failures before he created the vacuum cleaner he wanted. His main lesson is one worth taking to heart:
It can take a very long time to develop interesting products and get them right. But our society has an instant- gratification thing. We admire instant brilliance, effortless brilliance. I think quite the reverse. You should admire the person who perseveres and slogs through and gets there in the end.
I think most of the time, "instant brilliance" is really just lucky timing.