Crime produces a reaction from society, uniting its members in condemnation of the wrongdoer and reinforcing their commitment to the shared norms and values. For Durkheim, this explains the function of punishment. This is not to make the wrongdoer suffer or mend their ways, nor is it to remove crime from society. In Durkheim's view, the purpose of punishment is to reaffirm society's shared rules and reinforce social solidarity.