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

1 Esdras 8:21

Let all things be performed after the law of God diligently unto the most high God, that wrath come not upon the kingdom of the king and his sons.

Read in other translations