The Role of Science

Encountered this thought-provoking anonymous quote:

The role of science is not to provide everlasting truth;

but rather, to provide a modest obstacle to everlasting error. 
– Author Unknown

Quoted by Nansel and Szlazak in Somatic Dysfunction and the Phenomenon of Visceral Disease Simulation: A Probable Explanation for the Apparent Effectiveness of Somatic Therapy in Patients Presumed to be Suffering from True Visceral Disease.

A couple of searches lead me to a reliable source of the quote

“The aim of science is not to open the door to infinite wisdom, but to set a limit to infinite error.” 
― Bertolt BrechtLife of Galileo

via GoodReads