When I was a child, I knew a girl who was horrifically bullied at school by her class teacher, from about Y1 up to Y6. The sort of treatment meted out to her every school day would not happen nowadays, so it wasn't just unfair marking or unkind remarks, it was spitting, hitting, screaming in the child's face, demeaning, humiliation, the works. This teacher always chose a girl in her (teacher's) class, perhaps as an example to the others to ensure good behaviour and hard work. In previous years, the parents of the scapegoat generally removed the child and sent her to another school, or the child's torment stopped when they went up a year. For us, the teacher went up every year with us.
I asked that girl, many years later, why her parents kept her there. Apparently, her mother was religious but her dad was not. Her mum had promised God to bring the children up in the religion and the dad had vowed to allow the children to be brought up in the religion. Therefore the dad left all religious matters to the mum, who 'made up for' her dh's lack of religion, by insisting that the children attended religious schools. There was another school of the same religion nearby, but it was state run, not private and therefore not good enough. The child therefore remained at the correct religious school and her religious welfare was ensured, at the expense of her well-being, education and mh.
Presumably God was satisfied; certainly the mother must have thought so.
So I have very little sympathy for anyone who sacrifices the well-being, or even possible well-being, of others for the sake of religion. I'm sure God is big enough to look after himself.