Nothing will focus someone's mind like looking at the world from the inside of a prison cell.
The inside of a prison cell is a place where people are left to think about things.