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

Deuteronomy 16:22

Neither shalt thou set thee up any image; which the Lord thy God hateth.

Read in other translations