punishing someone is for avoid him to redo bad things