punishing someone is for teaching them they did something wrong