David the Shepard was Bi-sexual

'And it came to pass, when he had made an end of speaking unto Saul, that the sould of Jonathan was knit with the soul of David, and Jonathan loved him as his own soul.'
(Bible: 1. Samuel 18, v. 1)

David, the shepard boy, was the lover of Jonathan, the son of Saul as well as being Bathsheba's adultours lover.

Bathsheba was the wife of Uriah the Hittite King., Later the wife of David, by whom she gave birth to Solomon, who succeeded David as king.