Let's not single out the US for that. There are quite a lot of places (many even worse than the US) that use imprisonment for punishment and as a deterrent, rather than rehabilitation. It's society's dirty little secret, that some members of it just want "Bad People" to be punished.