This is so very true -- protecting the children so they don't get abused and providing adequate treatment for the ones who are abused so they can learn and heal is only a first step.
I've known a pedophile. He was a lovely man most of the time, and well aware of the evil nature of his desires. He never got any help -- there wasn't any help to be had. He tried. The first time he tried to get help, when he was still in high school, he wound up doing three years in the juvenile ward of a hospital for the criminally insane.
He did eventually find a prison psychologist who had worked with repeat offenders and had some success turning younger lives around -- but it takes constant support and followup. My friend was better for many years, but when the old patterns started to return, again he had nowhere to turn.
He killed himself rather than hurt another child. I'm sure many people in here will think that was a fitting end. But we all have evil in us. We all have good. There has to be a way to figure out how to heal the evil and bring out the good so people can live happy and healthy lives. Yeah, the kind of long term treatment and support is expensive, but it builds lives. How many more thousands of lives will be destroyed if we do nothing? And what is the cost of that?