To lecture someone on morality is implicitly to assume moral superiority over them. Adults do this to children, but not (unless they are clergy) to other adults. Paul Graham parenting morality