Nobody has ever said that being molested turns all boys gay just just as being beaten as a child does not mean that you will grow up to beat your kids.
It does however result in a statistically significant higher chance of those things happening and for similar reasons.
The victim does not want to be a victim, they want to be strong. The abuser is strong. The way to be strong is to be an abuser and have your own victims.
And the cycle continues.
Oh, you are very right. Many abusers were abused, and the cycle keeps going. Imprinting is a fact. Especially about the power and the violence. But orientation doesn’t always imprint. Many SNAP (victims of sex abuse bu any kind of authority as a child - clergy, teachers, etc) members are hetero male adults that are still hetero and their homo rapes as kids have devastated their lives.