In the spring of the year, when kings normally go out to war, David sent Joab and the Israelite army to fight the Ammonites. They destroyed the Ammonite army and laid siege to the city of Rabbah. However, David stayed behind in Jerusalem.
Late one afternoon, after his midday rest, David got out of bed and was walking on the roof of the palace. As he looked out over the city, he noticed a woman of unusual beauty taking a bath.
He sent someone to find out who she was, and he was told, “She is Bathsheba, the daughter of Eliam and the wife of Uriah the Hittite.”
Then David sent messengers to get her; and when she came to the palace, he slept with her. She had just completed the purification rites after having her menstrual period. Then she returned home.
Later, when Bathsheba discovered that she was pregnant, she sent David a message, saying, “I’m pregnant.”
Then David sent word to Joab: “Send me Uriah the Hittite.” So Joab sent him to David.
When Uriah arrived, David asked him how Joab and the army were getting along and how the war was progressing.