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

Ezekiel 18:5

“But if a man is just, and does that which is lawful and right,

Read in other translations