The bar for math PhDs already ruled out like 99.9% of the population, so I don't see it having much effect on discouraging people. The gap between even a bright student who takes AP calculus or whatever and someone studying e.g. spectral sequences is already incomprehensibly large. Like you literally could not even convey to a smart young person how far away they are from the boundary of today's understanding. I don't think I even have a reasonable sense with a math bachelor's!
People who get into math do it because they can't not do it.