Answer:
This is referred to as discipline or consequences. Consequences help children learn morals while they are young so they do not do bad things in the real world, where it could have worse punishments for them. Consequences help shape better futures for younger children.