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

Exodus 22:28

“You shall not blaspheme God, nor curse a ruler of your people.

Read in other translations