In that sense it is not bad. The problem is that it creates perverse financial incentives for large sections of the population to be incarcerated as a cheap supply of labour. Prison labour also undercuts minimum wages in some cases. Consider that for-profit prison companies spend millions of dollars on lobbying efforts.