The study that originally was widely and loudly used to turn the public opinion against HCQ had actually been retracted just 2 weeks after being published and without much fanfare.
https://www.thelancet.com/journals/lancet/article/PIIS0140-6...
https://www.thelancet.com/journals/lancet/article/PIIS0140-6...
Since then there have been studies that show HCQ can be effective in early treatment.
https://pubmed.ncbi.nlm.nih.gov/33042552/
However, the damage seems to have already been done.