In the letter, David told Joab, “Put Uriah right in the front where the fighting is worst, and then pull back behind him so that he'll be attacked and killed.”
So why have you treated what the Lord said with contempt by doing evil in his sight? You killed Uriah the Hittite with the sword and stole his wife—you killed him using the sword of the Ammonites.
For David had done what was right in the Lord's sight, and had not deviated from anything the Lord commanded throughout his lifetime, except in the case of Uriah the Hittite.
One day Saul told David, “Here's my oldest daughter Merab. I will give her to you in marriage, but only if you prove to me you're a brave warrior and fight the battles of the Lord.” For Saul was thinking, “I don't need to be the one to kill him—let the Philistines do it!”
“I'll give her to David,” Saul thought. “She can be the bait so the Philistines can trap him.” So Saul said to David, “This is the second time you can become my son-in-law.”
Saul told them, “Tell David, ‘The only dowry the king wants for the bride is one hundred foreskins of dead Philistines as a way of taking revenge on his enemies.’” Saul's plan was to have David be killed by the Philistines.