One of the major purposes of prisons is deterrence, and for that prisons need to be awful.
Do you have any evidence that reality conforms to this theory?
Do you have any evidence that reality doesn't conform to this theory?
Not a counter-question just for the sake of counter-questioning; I am sincerely interested in knowing.