In chapter 8, Paul said it was perfectly acceptable to eat meat that had been offered to idols. Here, he's saying one can't eat at both the Lord's table and the table of the demons. Is he contradicting himself? No. You see, it's not the meat, but the meeting that is the problem, for while it was permissible to buy meat in the shambles, it was not permissible to take part in idol worship in the temples.
What does this mean for us today? It means that, although I have liberty to go into certain bars or social scenes to have a Pepsi, if that place has been dedicated to devilish activity, I shouldn't be there. I can't hang out with the demons on Saturday night and come to church Sunday expecting things to be hunky-dory. It just doesn't work that way.