Personality grows out of the environment you are in. Teaching personal responsibility to someone who is on the street associating with gangs can be a lost cause.
I think prison can serve to change someones environment to such levels that they are willing to change themselves. Maybe not 30 years of prison though.