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

Matthew 5:34

but I tell you, don’t swear at all: neither by heaven, for it is the throne of God;

Read in other translations