The primary purpose of schools is not "learning" but exercising power through gatekeeping and accreditation. For most disciplines, the Internet already contains learning resources that make the average school's curriculum look like utter garbage by comparison. We don't use schools for learning, we use them to decide who gets to do what in life.