Edison had maybe 1,000 failed prototypes for the electric light.
The idea was stolen but he persevered and made it actually work.
Science similarly tries out many ways of looking at things/making things work. Seldom does anybody come up with a perfect gadget or theory on the first try.