This is not a question of about parroted nonsense and cultural norms. I mean what end product do they produce that justifies their existence in the first place.
I’m physically disabled and have been living in a prison like situation for nearly 11 years. How does my situation balance into the ethics of prisons? I’m on a path to homelessness and a premature death due to institutionalized neglect and abuse from US institutions. Criminals are housed and fed in exchange for similar isolation, abuse, danger, insurmountable debt, and a largely unemployable and destitute future. These seem to conflict in ethics.
Punishment, rehabilitation and removing someone from public life due to the danger they represent are the three most common reasons to imprison where I live.
The end products would be: society getting its “pound of flesh”, a better educated and matured person upon release and the protecting of the public from dangerous individuals.
(In practice though, most of our prisons are just universities of crime)