The story of David and Bathsheba begins with King David choosing to stay home in Jerusalem while he sent the rest of the Israelite army to fight other nations and kings.
David is relaxing and walking on the palace roof when he sees a beautiful woman bathing on her roof. David was immediately drawn to her and sent messengers to find out who she was.
The messengers returned and told David that her name was Bathsheba, the daughter of Eliam and the wife of Uriah. Despite David knowing that she was married, he sent for her and slept with her. Bathsheba later then sent word to David that she was pregnant.
David was nervous that his sin of adultery would now be revealed. He called for Uriah to come home so that he could spend a night with his wife, Bathsheba to cover up the sin that Bathsheba was pregnant with David’s child.
However, Uriah refused to sleep with his wife while his fellow men were off fighting. David was filled with anger that his plan did not work. So when Uriah went back to war, King David sent a note to the army commander with instructions to have Uriah put at the front line and to withdraw so that he would die, and he did.
Bathsheba mourned her husband’s death and was then brought back to King David so she could be his wife.
The prophet Nathan visited King David and told him of the Lord’s disapproval and displeasure with David. Even though David repented of his sin, Nathan told David that the son Bathsheba was expecting would die.