Revenge is not what it is its retribution. Especially down in the South and out West in places. In Georgia you can get sentenced to hard labor and in the resent past to a chain gang. A lot of it has religious roots but many laws do too.
Recidivism is the biggest problem especially when something like 75% of inmates will be arrested again within 5 years.