"Inmates working for state-owned businesses earned between US$0.33 and US$1.41 per hour in 2017 – about twice the amount paid to inmates who work regular prison jobs."
I wouldn't exactly call that being paid. It's more of a pocket money situation.
Rehabilitation in prison is about education and giving people a perspective in life when they leave prison. Just making them suffer will not make them change their ways.