Well, yeah, in science you have to go wrong before you go right.
Being wrong isn't always the best term anyway, in many cases inaccurate is a better word, as the science was correct as per what was observed at the time. With new observations comes new knowledge, and thus science advances.