I seriously believe that the USA is the best country in the world. (Of course, as a citizen thereof, you could perhaps predict that.) Having said that, I do NOT say that they do everything right, and prisons are probably one of their worst failures. We have the highest per-capita incarceration rate in the world because we have such a backwards attitude towards criminal reform.
I firmly believe that people must be held responsible for their improper actions. However, states that have something so ludicrous as a "three-strikes-you-are-out" law that counts non-violent drug possession as a strike? They need to divert people into therapy. They need to consider that the homeless probably would be OK to work if they could, but many of them don't have the tools for it. So many states address the problem of crime by removing people from the street. (Which is appropriate for criminally violent people.) But they don't make the attempt to counsel, educate, retrain, or otherwise do something positive for people whose only crime is to be inept at living in society.
This of course stems from schooling issues and a near-meaningless juvenile "justice" system. It stems from politicians wanting to throw money at a problem in a "set it and forget it way." It stems from people being frustrated that they have not yet solved the problems of the pitifully poor part of the population. The "race" problem in the USA is tied into this and it comes from being unwilling to follow through on so many programs. We have tried to fix race relations with Head Start, Affirmative Action, Welfare, Supplemental Income programs, Government housing... the list goes on. Why? Because it would appear that our government cannot easily handle anything that requires long-term engagement.