Why have you despised the commandment of the LORD, to do evil in His sight? You have killed Uriah the Hittite with the sword; you have taken his wife to be your wife, and have killed him with the sword of the people of Ammon.
2 Samuel 12:9
Surrounding context
12:8 I gave you your master's house and your master's wives into your keeping, and gave you the house of Israel and Judah. And if that had been too little, I also would have given you much more!
12:9 Why have you despised the commandment of the LORD, to do evil in His sight? You have killed Uriah the Hittite with the sword; you have taken his wife to be your wife, and have killed him with the sword of the people of Ammon.
12:10 Now therefore, the sword shall never depart from your house, because you have despised Me, and have taken the wife of Uriah the Hittite to be your wife.'