punishing someone is for teaching them