It is spring, the time when kings go out to war, and David sends Joab with the army to besiege Rabbah of Ammon, but he himself stays in Jerusalem. One evening, rising from his bed, he sees from the roof a very beautiful woman bathing. He inquires about her: she is Bathsheba, daughter of Eliam and wife of Uriah the Hittite, one of his mighty men. David sends messengers, takes her, lies with her and she returns home. Soon afterward she sends word that she is pregnant.
David orders Joab to send him Uriah. When he arrives, David asks about the war and tells him to go down to his house and wash his feet. But Uriah sleeps at the door of the palace with the king's servants. When David asks why, he answers that the ark, Israel and Judah are staying in tents and his comrades are camping in the open field, so he cannot go to eat, drink and lie with his wife. David keeps him one more day, makes him drunk, but Uriah still does not go home.
David writes a letter to Joab and sends it by Uriah's own hand: put him in the front line where the fighting is fiercest, then draw back from him so that he will be struck down and die. Joab assigns Uriah to a place near the enemy's strongest men. Uriah dies along with other servants of David. Joab sends a report, anticipating the king's anger over the maneuver, and tells the messenger to add that Uriah the Hittite is also dead. David replies that he should not be troubled, for the sword devours now one and now another. Bathsheba mourns her husband; when the mourning is over, David brings her to his house, she becomes his wife and bears him a son. But the thing David had done displeased the Lord.