Do you really believe that?
What exactly is more moral about sending kids to common core schools where they learn methods intended to hamper their abilities and may take years to undo in their competition with private school kids? And pumping government and transpropraganda into their soft heads? Taking their fertility with drugs? Getting them hooked on stimulants? Setting them up for a lifetime of student debts?
Is it really that much more moral than having them work with machinery, paying them for it and having the occasional industrial accident?
I tend to think that people that see such a more moral society now than in the past just isn't really looking at all of the immoral stuff going on. Of course there is media with an interest in telling you there is less crime than ever and we're ever moving forward into a culturally better world. But think for a moment: who has more to gain from that message; people doing shady stuff or people trying to fix shady stuff?
Are you defending child labor?
I did an essay on that once, and maintain that child labor is not immoral. If child labor had never been used, humanity would have gone extinct from starvation.
For some reason, people don't think of children working on family farms as being child labor, even though it is. Early civilizations couldn't even produce enough food to support a family using just the adults' labor. They'd literally starve without it. There's still nations, like Ethiopia, where that's true.
Child labor also often doesn't come at the expense of education, but enables it. When Western nations have had movements target foreign child labor, it has often made the families of the child laborers worse off because they can't afford stuff needed to buy what education they were buying (like transportation to get the kid to the school, textbooks and school uniforms, fees), and sometimes it results in more child labor being used overall. For example, when Bengali garments factories were targeted by boycotts, the laid-off children were instead redeployed to prostitution/stone mining, which were far more dangerous and paid far less.
The Western obsession with child labor as some great evil is very arrogant and damaging to people from poor countries and borders on hysteria.
In the West, the future value of an educated child is worth far more than the present value of a child laborer, so it makes sense to ban child labor to ensure a highly-trained workforce. That the law exists and is sensible doesn't make the concept that's banned immoral, though, anymore than it's "immoral" to smoke weed.