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

Exodus 17:16

For he said, Because the Lord hath sworn that the Lord will have war with Amalek from generation to generation.

Read in other translations