@TizerorFizz
Taking religion out of school altogether would be best. However powerful churches won’t do that.
And why should they, when most of them own both the land the schools are built on as well as the school buildings?
Your comment is overly simplistic.
For that to happen the Local Authority/Government would have to buy the land and buildings off the church in question (RC or C of E) and change the school into a secular one.
This would disenfranchise those pupils who's parents wanted a religious education for them, and they would have to go elsewhere
Without the support from a Church (usually about 10% of costs) the school might well close - this is especially true in rural areas.
In areas in UK where there is a large Islamic population (and the absence of a Madrasa) Catholic schools are a popular choice. They are chosen because of the ethos and "value system", good discipline, as well as Catholic schools' reputation for a "good standard of education".
Catholic schools combine ethnic diversity with high standards. In Catholic primary schools, 37% of pupils are from ethnic minorities, higher than the national average.
Faith schools may have extra resources and opportunities that may not be available at other places. For instance, a church school would have a school chaplain. S/he is not there to convert anyone, but they offer an extra pair of ears - trained in compassionate listening - to support a struggling child. There may be interesting extra-curriculum activities, more hands-on involvement in community projects and such like.
There appears to be more opportunities for pastoral care and catering for the children's mental health in faith schools as well. Whatever the tradition, in a faith school you never stop talking about hope, forgiveness, helping the weak, self-denial, moderation, the purpose of life, and our duty to make the most of it. All of these shape the way a child sees the world. Some of this talk will sink in, and, hopefully, strengthen children's self-esteem and encourage them to be brave and follow their dreams in the future.