Since there are plenty of students who are truly interested in earning an education, and since our educational system lacks adequate funding, why force the unwilling to attend school? Truants who do not want to be in school take up needed materials, needed space and the energy of teachers. And they distract students who truly want to learn.
The purpose of school is to educate, not to baby-sit. When people are fenced in, they want to break out.
When attending school is seen as a privilege rather than a mandate, more young people will strive to be involved.