In scripture, "eating meat sacrificed to idols" is usually shorthand for participating in the sacrifice itself because eating the meat is part of what makes the ritual effective. See 1 Corinthians 10:18, for example. The meat of a pagan sacrifice has no real power if you are not participating in the sacrifice, and neither does the idol itself have any power. Not even the demons that use such idols have power over a believer who is not engaged in sinful behavior.

Do not participate in pagan rituals, because they are done to honor demons, not God. You cannot honor God and demons at the same time. You cannot participate in pagan rituals and expect your worship of God to be undefiled. God doesn't want people to participate in idolatry nor in its rituals, whether those things have any power of their own or not.

1 Corinthians 10

Are All Things Truly Lawful? - American Torah

Are All Things Truly Lawful? - American Torah

Did Paul teach that all things are lawful for Christians? Or were his instructions to the 1 Corinthians limited by context?