OK, seeing as you're finding it difficult to understand.
I'll break it down.
What was the purpose of you listing all the dodgy friends you have?
Do you have any convicted sex offenders in your friendship group? If not, why not?
By your logic, If a person is not guilty of a crime by association, then presumably you'll have no problem having a sex offender as a friend. That's why I asked the question in the first place.