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

Matthew 7:28

And it came to pass, when Jesus had ended these sayings, the people were astonished at his doctrine:

Read in other translations