Jules Verne said this quote

Science, great, mighty and in the end unerring, science has fallen into many errors - errors which have been fortunate and useful rather than otherwise, for they have been the steppingstones to truth.