Do you approve? perhaps not of the death but of the use of rods to beat their children in the name of God?
Do I approve of parents beating their kids to death? Of course not.
I don't have a problem with corporal punishment, and I used it with my own kids, but I never spanked my kids "in the name of God," so I can't answer your other question.