As an aside, I think culturally we are far too willing to say, "Lock 'em up!" when it comes to people who allegedly break the law. I emphasize "allegedly" because the presumption of innocence is also easily forgotten, unless it's a beloved white franchise quarterback for the local team.
Especially true when we're talking about people we don't know personally, who look different than us, come from a different background than us, and whose crime is connected to a way of life / culture / community / class experience that is not our own.
Imprisonment is not a particularly good solution for anything, really, other than removing from society people that we have no better answer for. Long term imprisonment, especially, is a terrible solution for anything other than completely excising an individual from society.
But this is a whole can of worms for the off-topic forum, perhaps.