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

Matthew 27:5

And he cast down the pieces of silver in the temple, and departed, and went and hanged himself.

Read in other translations