Since he had given them a sufficient rebuke, he now softens it by calling them beloved. However, he forbids them to eat food sacrificed to idols not only because it is harmful to the brethren, but condemns this practice in itself, calling it idolatry, and demanding a swift departure from it, for he says: "flee."
Source: Commentary on 1 Corinthians