A school system I attended when I was young divided classes between academic and social --- social classes were attended at one's age level, academic classes were attended at a student's ability levels, I believe that there were also trade school tracks, prompted by students taking Sloyd Woodworking claseses:
Which is to say, the vast majority of students are not different. There are some much below average kids who need a lot of help but never will reach anything, but the vast majority are very close to average and we don't need particularly anything better for them than anyone else. What we need is to give the programs we give to the most gifted students to the less gifted students because they would benefit from the same attention
Mastery learning is also more effective than moving on with knowledge gaps, so this should be expected to raise everyone's outcomes.
That's a laudable goal but I think it backfires in practice: a lot of students struggle with math and consider it to be torture, and will rarely require the skills and insights that learning algebra, trigonometry, geometry, and calculus will offer. Having done that work I find that I use very little of it in my day to day life (personally and professionally (as a programmer)).
I'm not suggesting that path be eliminated, only that it be an expected track for those interested in a STEM career.
For those who are not, just teaching them math literacy that can be used in contemporary daily life (some statistics, math reasoning (investments and debts), etc.
I love math -- it's the language of the universe! But it shouldn't be used to torture kids who will only learn to say "I hate math".
https://www.goodreads.com/book/show/30685840-practical-shop-...
1. STEM: To Calculus and beyond
2. Everyone else: math for mere mortals; practical applied mathematics where every bit of it contains a "here's where it's gonna help you" payoff.