Education is the most legitimate of welfare programs. Children certainly cannot provide their own education, and an educated population is essential to a prosperous, happy society.
Private schools, funded by the government, would probably do it better.