Not excusing his behaviour (before people start calling me an "paedophile apologist"), and maybe this thread is too emotive to discuss this, but this does raise the wider ethical question: what should we do with convicted felons in general, after prison? With lesser crimes, many ex-cons find it extremely difficult to find employment, because of their past, so what do they do? They reoffend, because crime pays the bills in the short term, and while in prison, they have been tutored by the professional criminals, some of whom see prison as "a temporary inconvenience". There is a reason why our reoffending rate is extremely high. Certainly child abuse is a crime which most people have a special hatred for, with good reason, and in prison, those convicted of it have to be kept separate from other prisoners, for their own safety.
Should we bring back the asylums where anyone with "mental health" issues is kept separate from everybody else, for the rest of their lives, as happened with people (not criminals) who are now accepted in mainstream society, such as autistic people, who were once treated with the same contempt as criminals? The irony is that in those times, the biggest perpetrators of child abuse were probably respected pillars of the community: doctors, priests, policemen, teachers, politicians, who got away with it because of who they were, and of course a certain notorious TV presenter. And many perpetrators probably still are "respected" people now, but they know that if they are rumbled, it is much easier for them to be ruined, and for their past to be known about, with DBS checks, and cancel culture. JS did his dirty work in plain sight: nowadays, child abusers have to be much more cunning and devious.
It's true that in extreme cases, those convicted of terrible crimes, especially against children, are given new identities after their release, which always brings on the right-wing screaming about the cost of doing this, and that we should just gas them instead, or transport them abroad (again, moving the problem somewhere else). The question is, where do we draw the line? Rehabilitating offenders is a calculated risk.