I’m not sure you can compare it to murder because murder is a crime, but being a paedophile (as defined- someone who is sexually interested in children) is not a crime.
Of course, it’s a crime to commit certain acts involving children, and it’s a crime to download images of that nature. but to harbour sexual desire for children is not in itself criminal. It’s how that condition manifests itself that can be.
I don’t think that being sexually interested in children is something that many if not most/ all of these people can help. I’m not sure you can say it makes them bad people. Acting on it, of course, does make them bad, even if their behaviour is driven by something pathological that is not their fault (e.g. a background of sexual abuse in their own young lives.).