Yes, the scientific method, for a variety of reasons, sometimes produces results that are incorrect. More often, results may not be confirmable (indicating, perhaps, the presence of “unknown unknown” factors), or the results may be marginal or unclear.
All of this should make everyone cautious about committing too much obedience to “science,” but it doesn’t seem to.
Scientist thought that they had things nailed 100 years ago. Then, they found out that they didn’t.
At least they were “scientific” enough to admit it.