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

Exodus 12:24

And ye shall observe this thing for an ordinance to thee and to thy sons for ever.

Read in other translations