He may not be able to help being attracted to kids but he can certainly help acting on those urges.
If parents can expect their heterosexual teens not to bang each other and Christians expect consenting adults to be able to resist the temptations of normal sex, why can't a pedo be expected to resist his ILLEGAL urges?
What part of "only his actions" did you not understand?
But having said that, with this thoughtful audience I'll say another point.
From what I've read, pedophiles actually view children differently. When we see them as one thing, pedophiles reported 'see' a sort of adult romantic person.
So apparently to them, the restrictions make no sense.
What we have now is just driving them underground where they are struggling alone against their desires - often unsuccessfully and preying.
Think about if you lived in some fundamentalist society with a ban on music or dancing or holding hands, how easy it would be to see that as ridiculous and violate the rules.
Apparently, that might be a bit how pedophiles view the children. That they aren't arming them at all, it's some weird hangup most of society has.
I don't say this at all to defend pedophile actions - I'm on board with the total opposition to their harming children - but I think it makes sense to have some understanding of what's going on, bot simply in terms of understanding the situation, understanding how to better take effective measures against harming children, and yes, having a more accurate idea of the issue.
For example, I read that Jeffrey Dahmer had overwhelming urges to do what he did, but he was so repulsed by the harming of people, he had to get drunk before he'd act on them, and he'd keep a victim in the freezer as a way to not have to kill again as often - which is some sick bizarre sort of a little bit of ethics on his part, I guess, but does help have a better understanding of him.
The point being, that while we need to prevent pedophiles from acting on their urges - the urges they have no control over, but the actions they do - it's apparently a false analogy to compare it to how we'd think of the temptation, and to better understand that they may have difficulty understanding the harm they do to children.
It's why I've long suggested that we try to develop some sort of more therapeutic - and by that, I mean measures to keep them from children, not attempts to change their sexual orientation I don't think can be changed - approach where pedophiles are encouraged and helped to a win-win situation where they are kept from children for society's good, but without the focus on punishment just because of who they are, outside of actions.