And when a 20 or 30 something female teacher has sex with a twelve year old boy, that’s “homosexuality”? I don’t think so, but it is pedophilia.
There is and can be contexts where the two things - pedophilia and homosexuality - appear together. But there are always contexts where both things are not present together; just one or the other. It is wrong to lump them together as if the same thing or always together.
I read 25% of pedophile attacks identify as homosexual.