Which is why most countries have some sort of public funded compulsory education.
Banning all schools will affect all children.
Banning gene-editing will effect the children of the wealthy, or those who's parents chose to go that route.
A better example will be banning private schools, but even then, that requires the child to at least work hard and the parents to constantly invest for a child to get any value out of it, as oppose to gene editing.