His chain gangs are not forced, they are optional. The prisoners are paid (about a quarter an hour, or just a bit more). They can use the money to buy their meals, small comfort items (envelopes, pencils, etc.), or they can save it for when they are released.
FWIW, Maricopa County's recidivism rate is less than half of the national average....