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

John 8:5

Now Moses in the law commanded us, that such should be stoned: but what sayest thou?

Read in other translations