Morality does not figure into child's self esteem. The child's perspective is not too wide to be able to figure out what is moral or not. Of course this is an understandable fact since things like these can be learned through time and become natural already to the child when he grows up