On some accounts, punishment is justified by the good results that it brings about. In particular, punishment deters, incapacitates, and may, in some cases, rehabilitate criminals. On a retributivist theory, punishment is not justified on the basis of these desirable results, but rather on the fact that the wrongdoer has done something that deserves punishment.