punishing someone is for preventing them from doing more bad deeds