Jails and prisons are designed to break human beings, to convert the population into specimens in a zoo - obedient to our keepers, but dangerous to each other.
When somebody has convinced you that you're not worth anything to anybody anymore, and they spend a lot of time doing it, you start believing it yourself.