Many famous people are, and have been, gay so that rules out the woman factor. And many famous people who have been gay were in the closet so we don't even know they were gay.
It helps to have a partner in life but the sex of the partner isn't all that important.
Alexander the Great and Julius Caesar were both gay. Big Julie was so well known to be gay his troops had a marching song about it.