Passage
Why have you despised Yahweh’s word, to do that which is evil in his sight? You have struck Uriah the Hittite with the sword, and have taken his wife to be your wife, and have slain him with the sword of the children of Ammon.
Why have you despised Yahweh’s word, to do that which is evil in his sight? You have struck Uriah the Hittite with the sword, and have taken his wife to be your wife, and have slain him with the sword of the children of Ammon.
2 Samuel 12:7 Nathan said to David, “You are the man. This is what Yahweh, the God of Israel, says: ‘I anointed you king over Israel, and I delivered you out of the hand of Saul.
2 Samuel 12:8 I gave you your master’s house, and your master’s wives into your bosom, and gave you the house of Israel and of Judah; and if that would have been too little, I would have added to you many more such things.
2 Samuel 12:9 Why have you despised Yahweh’s word, to do that which is evil in his sight? You have struck Uriah the Hittite with the sword, and have taken his wife to be your wife, and have slain him with the sword of the children of Ammon.
2 Samuel 12:10 Now therefore the sword will never depart from your house, because you have despised me, and have taken Uriah the Hittite’s wife to be your wife.’
2 Samuel 12:11 “This is what Yahweh says: ‘Behold, I will raise up evil against you out of your own house; and I will take your wives before your eyes, and give them to your neighbor, and he will lie with your wives in the sight of this sun.
The verse centers on "despised", "yahweh", "word", "evil", "sight", "struck", "uriah", and "hittite". It is saying that the verse draws attention to "despised" and "yahweh", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 8's "I gave you your master s house..." into verse 10's "Now therefore the sword will never depart...", so "despised" and "yahweh" belong inside that flow. In 2 Samuel context, the local focus is covenant, worship, and faithfulness.
A plain takeaway is to answer the verse's own emphasis on "despised" and "yahweh" with trust shaped by these words, not by a vague optimism outside the passage.