Old Testament readings use the Septuagint , the Scripture the apostles quoted. Masoretic numbering shown for reference.Learn why
LXX

2 Samuel 12:9

Why hast thou set at nought the word of the Lord, to do that which is evil in his eyes? thou hast slain Urias the Chettite with the sword, and thou hast taken his wife to be thy wife, and thou hast slain him with the sword of the children of Ammon.

Read in other translations