And a lot of those kids ended badly, exploited and literally had no future. The people who could afford it, did not had their 12 years old working in factories nor being responsible for "looking after a family".
In good times in family farms, the kids contributed to work basically from 5 years old (and yes, 5 years old had higher incidents rates then they have now). But they were not treated as adults at 12 at all.