As someone who spent a few months in solitary confinement(as punishment) during my 3 years in prison, I can tell you it is not meant to rehabilitate. Its a form of punishment or safety. Sometimes to keep you safe, and sometimes to keep others safe. So, even though I’m voting “Yes”, those situations are very common and still need confinement to exist. Many of the people in jail or prison do not want to be “rehabilitated”.