I'll stop you there - you haven't presented any evidence that is the case, and what I could see with a bit of research online is that your statement is false, by orders of magnitude. Sure, solar is 'dirty' but that it's far cleaner on a life cycle basis than coal, and oil. Wind is better than solar, nuclear depends on how you measure the costs. It's possible I am missing better analyses, but you asserting it without any evidence isn't getting me there.
Furthermore, it just takes a couple of minutes to see that there has been a lot of progress in developing solar panels that require far less, or no, rare earth elements, so you're making an argument that assumes old technology cannot be advanced to solve much of that problem and it's wrong.
Again, if you're going to assert that solar is worse than oil or coal, which each produce MASSIVE amounts of pollution, you just have to back that up with some kind of apples to apples comparison over the life cycle of a solar panel versus, say, burning oil to produce an equivalent amount of energy.