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

John 7:49

But this people who knoweth not the law are cursed.

Read in other translations