If the prison system did more to protect those in its keep, maybe the prisoners wouldn't need to seek protection by joining a gang.
That is also true.