This is a short clip from a great conversation between Brett Weinstein and Steve Patterson: https://odysee.com/@Undisciplined:a/markets-and-science-are-self-correcting:c
It's been a while since I've watched this, but the gist is that both markets and science converge toward reality over long enough time horizons. For markets that means our allocation of scarce resources becomes increasingly aligned with our preferences and abilities: i.e. efficiency. For science it means that our understanding of empirical reality becomes less false: i.e. truth.
The self correcting part is vitally important, because we want processes to work well regardless of the outside influences and incentives. Both science and markets can be corrupted in the short-term by bad actors, but eventually in both cases a correction comes, as reality exerts itself.