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

Exodus 22:27

Thou shalt not revile the gods, nor speak ill of the ruler of thy people.

Read in other translations