II Samuel 1:26 David loved Jonathan more than women, of whom he had many
God held only one thing against David, that he arranged the death in combat of the husband of a woman David had impregnated. Thus, the only contentiousness between God and David was over a woman. I Kings 15:5
David's fine looks and sexual attraction to men was used repeatedly by God for his purposes