David sent for Uriah from the battle and tried to get him to go down to his house. When Uriah refused, David sent a letter by Uriah ordering Joab to place him in the hardest fighting and withdraw so he would be struck down. See 2 Samuel 11:6–15.
In 2 Samuel 11:6–7, David uses royal authority to summon Uriah from the battlefront through Joab. Joab complies and sends Uriah to Jerusalem. When Uriah arrives, David does not immediately speak about Uriah’s home or family but asks for updates: how Joab is doing, how the troops are doing, and how the war is going. This unit sits inside the Bathsheba–Uriah episode (2 Samuel 11), where the story shifts from private actions in Jerusalem to the realities of the war outside the city. Just before this, David learns Bathsheba is pregnant, creating an urgent problem for him to manage.
These verses show the king using normal chains of command during wartime. David issues an order through Joab, and Joab complies without recorded hesitation. Uriah is brought from the front to Jerusalem, which highlights David’s ability to redirect people’s movements through royal authority. The initial conversation is framed as a military briefing.
A careful answer keeps the immediate passage, the book's argument, and the whole-Bible storyline together, so the question is answered in context instead of as a detached idea.
Start with 2 Samuel 11:6-15, then read the surrounding section so the answer stays connected to the passage's flow.
6David sent to Joab, [saying], Send me Uriah the Hittite. Joab sent Uriah to David.
7When Uriah was come to him, David asked of him how Joab did, and how the people fared, and how the war prospered.
8David said to Uriah, Go down to your house, and wash your feet. Uriah departed out of the king`s house, and there followed him a mess [of food] from the king.
9But Uriah slept at the door of the king`s house with all the servants of his lord, and didn`t go down to his house.
10When they had told David, saying, Uriah didn`t go down to his house, David said to Uriah, Haven`t you come from a journey? why did you not go down to your house?
11Uriah said to David, The ark, and Israel, and Judah, abide in booths; and my lord Joab, and the servants of my lord, are encamped in the open field; shall I then go into my house, to eat and to drink, and to lie with my wife? as you live, and as your soul lives, I will not do this thing.
12David said to Uriah, Stay here today also, and tomorrow I will let you depart. So Uriah abode in Jerusalem that day, and the next day.
13When David had called him, he ate and drink before him; and he made him drunk: and at even he went out to lie on his bed with the servants of his lord, but didn`t go down to his house.
14It happened in the morning, that David wrote a letter to Joab, and sent it by the hand of Uriah.
15He wrote in the letter, saying, Set you Uriah in the forefront of the hottest battle, and retire you from him, that he may be struck, and die.