2 Samuel 11:10-17

ISV(i) 10 When David was told that Uriah hadn’t gone home the previous night, he quizzed him, “You just arrived from a long journey, so why didn’t you go down to your own house?”
11 Uriah replied, “The ark, along with Israel and Judah, are encamped in tents, while my commanding officer Joab and my master’s staff members are camping out in the open fields. Should I go home, eat, drink, and have sex with my wife? Not on your life! I won’t do something like this, will I?”
12 Then David invited Uriah, “Stay here today, and tomorrow I’ll send you back.” So Uriah remained in Jerusalem all that day and the next. 13 Then at David’s invitation, he and Uriah dined and drank wine together, and David got him drunk. Later that evening, Uriah went out to lie on a couch in the company of his lord’s servants, and he did not go down to his house.
14 David Orders Uriah KilledThe next morning, David sent a message to Joab that Uriah took with him in his hand. 15 In the message, he wrote: “Assign Uriah to the most difficult fighting at the battle front, and then withdraw from him so that he will be struck down and killed.” 16 So as Joab began to attack the city, he assigned Uriah to a place where he knew valiant men would be stationed. 17 When the men of the city came out to fight Joab, some of David’s army staff members fell, and Uriah the Hittite died, too.