You contradicted yourself. There is no need for rehabilitation if someone is not getting out of prison. Would you rehab a house that was going to be demolished? You would, wouldn't you? Cite in the law where prison is mainly about punishment, just so our readers are clear.