This is a common myth that just won't go away.
From 2019:
"A new report by the French Environment and Energy Management Agency (Ademe) shows that rare earth minerals are not widely used in solar energy and battery storage technologies."[0]
> like copper and rare earths, are quite dirty to produce, and often done in the global south
I'm from Australia. You say "Global South" like it's some kind of substitute for "poor countries".
I have very mixed feelings about mining, but it's pretty hard to argue against the idea that mining these exact minerals has made Australia one of the richest counties in the world, and the people working in those mines as some of the best paid "unskilled" labor on Earth[1][2].
[0] https://www.pv-magazine.com/2019/11/28/are-rare-earths-used-...
[1] https://en.wikipedia.org/wiki/List_of_countries_by_average_w...
[2] https://worldpopulationreview.com/country-rankings/median-in...