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

1 Samuel 17:51

And David ran, and stood upon him, and took his sword, and slew him, and cut off his head: and the Philistines saw that their champion was dead, and they fled.

Read in other translations