It depends upon a variety of factors.
The specific school, its reputation, the child's learning needs & personality, standards of teaching, prevalence of serious bullying within school grounds, local area, parental or family alternatives.
There are so many dreadful private schools.
There are some horrendous public schools.
Same applies to some grammar schools, free schools, faith schools and secular comprehensive schools.