At the same time, we have vaccines, which do work (though the slow roll-out and the many, many hold outs certainly don't help, as well as that it leaves the question of how to deal with children for the moment mostly unanswered).
And propagating this Ivermectine (and Hydroxychloroquine as the predecessor) nonsense has caused a lot of people to forego their vaccinations. And that does have very clear effects.
So even if consensus doesn't mean truth typically it is the experts that go against the grain with hard proof in their pocket that win out over the long term.
It is very rarely going to happen that new scientific truth will come from conspiracy theorists rather than from the establishment, though I guess if you live long enough that too will one day happen.