Then David said to Uriah, "Go down to your house and wash your feet." So Uriah left the palace, and a gift from the king was sent after him.
But Uriah slept at the entrance to the palace with all his master's servants and did not go down to his house.
When David was told, "Uriah did not go home," he asked him, "Haven't you just come from a distance? Why didn't you go home?"
Uriah said to David, "The ark and Israel and Judah are staying in tents, and my master Joab and my lord's men are camped in the open fields. How could I go to my house to eat and drink and lie with my wife? As surely as you live, I will not do such a thing!"
Then David said to him, "Stay here one more day, and tomorrow I will send you back." So Uriah remained in Jerusalem that day and the next.
At David's invitation, he ate and drank with him, and David made him drunk. But in the evening Uriah went out to sleep on his mat among his master's servants; he did not go home.
In the morning David wrote a letter to Joab and sent it with Uriah.
In it he wrote, "Put Uriah in the front line where the fighting is fiercest. Then withdraw from him so he will be struck down and die."
So while Joab had the city under siege, he put Uriah at a place where he knew the strongest defenders were.
When the men of the city came out and fought against Joab, some of the men in David's army fell; moreover, Uriah the Hittite died.
Joab sent David a full account of the battle.
He instructed the messenger: "When you have finished giving the king this account of the battle,
the king's anger may flare up, and he may ask you, 'Why did you get so close to the city to fight? Didn't you know they would shoot arrows from the wall?
Who killed Abimelech son of Jerub-Besheth ? Didn't a woman throw an upper millstone on him from the wall, so that he died in Thebez? Why did you get so close to the wall?' If he asks you this, then say to him, 'Also, your servant Uriah the Hittite is dead.' "
The messenger set out, and when he arrived he told David everything Joab had sent him to say.
The messenger said to David, "The men overpowered us and came out against us in the open, but we drove them back to the entrance to the city gate.
Then the archers shot arrows at your servants from the wall, and some of the king's men died. Moreover, your servant Uriah the Hittite is dead."
David told the messenger, "Say this to Joab: 'Don't let this upset you; the sword devours one as well as another. Press the attack against the city and destroy it.' Say this to encourage Joab."
When Uriah's wife heard that her husband was dead, she mourned for him.
After the time of mourning was over, David had her brought to his house, and she became his wife and bore him a son. But the thing David had done displeased the LORD.
The LORD sent Nathan to David. When he came to him, he said, "There were two men in a certain town, one rich and the other poor.
The rich man had a very large number of sheep and cattle,
but the poor man had nothing except one little ewe lamb he had bought. He raised it, and it grew up with him and his children. It shared his food, drank from his cup and even slept in his arms. It was like a daughter to him.
"Now a traveler came to the rich man, but the rich man refrained from taking one of his own sheep or cattle to prepare a meal for the traveler who had come to him. Instead, he took the ewe lamb that belonged to the poor man and prepared it for the one who had come to him."
David burned with anger against the man and said to Nathan, "As surely as the LORD lives, the man who did this deserves to die!
He must pay for that lamb four times over, because he did such a thing and had no pity."
Then Nathan said to David, "You are the man! This is what the LORD, the God of Israel, says: 'I anointed you king over Israel, and I delivered you from the hand of Saul.
I gave your master's house to you, and your master's wives into your arms. I gave you the house of Israel and Judah. And if all this had been too little, I would have given you even more.
Why did you despise the word of the LORD by doing what is evil in his eyes? You struck down Uriah the Hittite with the sword and took his wife to be your own. You killed him with the sword of the Ammonites.
Now, therefore, the sword will never depart from your house, because you despised me and took the wife of Uriah the Hittite to be your own.'
"This is what the LORD says: 'Out of your own household I am going to bring calamity upon you. Before your very eyes I will take your wives and give them to one who is close to you, and he will lie with your wives in broad daylight.
You did it in secret, but I will do this thing in broad daylight before all Israel.' "
Then David said to Nathan, "I have sinned against the LORD." Nathan replied, "The LORD has taken away your sin. You are not going to die.
But because by doing this you have made the enemies of the LORD show utter contempt, the son born to you will die."
After Nathan had gone home, the LORD struck the child that Uriah's wife had borne to David, and he became ill.