As I said, it is often the right decision.
Quote from your post:
"...there are parents who have no intention of educating their children who take them out of school because they don't care about their child's education. In those cases, it shouldn't be allowed."
But, how would the state determine if a parent is not educating a child or not? Your post indicates that you think the state should decide what a child should learn and at what age.
Many of us have had to deal with the public school system, and we know from personal experience they'll look for any excuse to claim we're not doing the job, even when our kids are working at advanced levels.