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

Matthew 8:12

But the children of the kingdom shall be cast out into outer darkness: there shall be weeping and gnashing of teeth.

Read in other translations