Some people who have sexual thoughts about children and are worried about it can get support if they don't want to carry out sexually damaging behaviours towards children, e.g. https://bravehearts.org.au/get-help/for-those-concerned-about-their-thoughts/
There also are people who do not want to get support and want to continue activities which exploit children.
I don't know if it is agreed by medical and psychological experts that paedophilia is an orientation or not. Some people who have these desires, etc, were abused themselves as children and so there is trauma-based acting out. Other people do not respond this way. The whole situation is complex but the safety of children must be the first consideration.