Something that might happen when you punish someone is they learn the error or their ways.