I agree it's not a problem. As can be seen at Retraction Watch, lots of bad science if found out and retracted. That's a good thing not a bad thing. One could ask how much of published science is made up and undetected but a better question would be how many results are simply crappy in the data or crappy in the analysis. It surely dwarfs the latter. But who cares. If the result is important it will be replicated. if it's not important then no one will cite it.
ultimately it's the well cited articles that also get vetted by reproduction. Those constitute the body of science moving forward. the rest goes into the gutter of history.
In skiing the saying is, if you fall and your fall isn't forward your not being aggressive enough. It's the same in science. People will make errors. If they weren't then then were not paying for aggressive enough research.