How effectively do prisons achieve the aim of rehabilitation as outlined in section 142 of the Criminal Justice Act 2003?

How effectively do prisons achieve the aim of rehabilitation as outlined in section 142 of the Criminal Justice Act 2003?