Exodus 23:24

24 Do not bow down before their gods or worship them or follow their practices. You must demolish them and break their sacred stones to pieces.

Read Exodus 23:24 Using Other Translations

Thou shalt not bow down to their gods, nor serve them, nor do after their works: but thou shalt utterly overthrow them, and quite break down their images.
you shall not bow down to their gods nor serve them, nor do as they do, but you shall utterly overthrow them and break their pillars in pieces.
You must not worship the gods of these nations or serve them in any way or imitate their evil practices. Instead, you must utterly destroy them and smash their sacred pillars.