[off topic?]
Crime writer Karin slaughter is very familiar with the criminal justice system.
In one of her novels, a character points out that pedophiles are endangered in prison by the other inmates. This isn't because most prisoners are moral and hate people who prey on the weak; it's because many of the prisoners were sexually abused in childhood and want payback.