Hi. This is an extremely contentious subject but no-one on the forum will reject you because of the way you are feeling. To address the issue we must first separate being a pedophile and child abuse.
I want to preface this with the following - you probably aren't, especially considering your age, a pedophile,
you are probably suffering with POCD. POCD (
link,
link,
link) is a relatively common disorder where an individual obsesses over whether they may be a pedophile and they may suffer intrusive thoughts related to the subject. The fact you are "worried that I may hurt a child" is a classic symptom. Obviously, I'm not your therapist or doctor and I can't make any sort of diagnosis but I would wager there is a high chance you are actually suffering with POCD. Have you ever dealt with OCD or other mental health issues before?
I could be wrong and there is a small chance you could be a pedophile. In this case, there is treatment and help out there for you and this doesn't,
in it's essence, make you a terrible person. Just because I'm attracted to an individual or a group of individuals doesn't mean I'm going to assault anyone nor does it mean I will commit a crime. You can cope with this and suicide isn't your only option.
It's really good you are seeing a therapist about this. I hope you feel better soon.