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

Exodus 23:24

Thou shalt not worship their gods, nor serve them: thou shalt not do according to their works, but shalt utterly destroy them, and break to pieces their pillars.

Read in other translations