Many non-Christian/non-Jews might say so...
But I would think "God said so" pretty much defines the morality of the subject.
Proverbs 13: [24] He who spares the rod hates his son, but he who loves him is diligent to discipline him.