My postgrad research supervisor, a highly-rated professor with a leading role in the field, has literally manipulated my research study design to ensure that the results supported his theory that he was publishing at the time that was the point where I decided to nope the fuck out of academia after getting my degree.
Scientific method itself is great, is just that there's a lot of politics and infighting for money, titles and positions in academia. Peer review is also a deeply flawed process that is also heavily affected by the aforementioned politics. That said, it's still the best we have.