I'm pretty sure the bible has a bunch of stuff in it about how hurting kids will get you sent to hell/should be worth the death penalty.
I don't know which passages say this off the top of my head, but I do distinctly recall it. Might have something to do with millstones around peoples necks too iirc.