punishing someone is for teaching them what is wrong to do