Agreed—it’s an issue of class, culture, and limited intelligence. Society needs to intervene, ideally from the church and other civic institutions, but when that fails, as in this case, the law needs to get involved. Even children have basic rights.
There’s no excuse for beating a child that way.