This just isn't true. Do you honestly believe that a kid with a learning disability is simply not trying? I know that was the attitude of the schools of yesteryear - but they were wrong.
There are lots of reasons for remedial classes: Dyslexia, for example. A kid might have anxiety issues that make finishing homework near impossible: ADHD is a real thing that folks struggle with. All of these can be worked through - but back in history, they would be sent away to rot. Lots of them are bright kids, and a fair number of them can be a future surgeon or researcher.