A review of history will find numerous occasions where science was wrong, and where specific (even brilliant) scientists were wrong. But on the whole...science is right more than it is wrong. That's why technology has improved over time. This is how we got antibiotics, the internet, made it to the moon, and know that anthropogenic climate change is real.