When Uriah came to him, David asked him how Joab was, how the soldiers were and how the war was going.
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.
References for 2 Samuel 11:8
But Uriah slept at the entrance to the palace with all his master’s servants and did not go down to his house.
David was told, “Uriah did not go home.” So he asked Uriah, “Haven’t you just come from a military campaign? Why didn’t you go home?”
Uriah said to David, “The ark and Israel and Judah are staying in tents, and my commander Joab and my lord’s men are camped in the open country. How could I go to my house to eat and drink and make love to my wife? As surely as you live, I will not do such a thing!”
References for 2 Samuel 11:11
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.
References for 2 Samuel 11:14
In it he wrote, “Put Uriah out in front where the fighting is fiercest. Then withdraw from him so he will be struck down and die.”
References for 2 Samuel 11:15
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.