The one thing that man is granted in this life is free will and the freedom to act at his discretion (within the confines of social mores and the boundaries of the law). Therefore, when someone commits a crime that is deemed an affront to society's well-being, he is stripped of this privilege. Confined in isolation, it is believed that he will reflect on his waywardness and be spurred to make amends.