Yes, but homosexuality is not the only reason a man isn’t married.
Plus, if a person really did struggle with the behavior, getting married is not the way to fix it.
Agreed - there are good reasons for a man to remain single, and if someone is struggling with homosexual feelings, then getting married to cure that is not the answer.
I was just pointing out that joining the preisthood is very enticing for a homosexual who does not want to be out of the closet, wants the respect of family, friends, and community, and will have authority, trust, and access to young people.