I command you to abstain not because food offered to idols is harmful, but for the sake of the one who declared that it was offered to idols, lest he suffer harm and think that Christians need not turn away from things pertaining to idols. And I do not teach abstaining from food offered to idols as though it were unclean and utterly foreign to our Lord: this is evident from the fact that "the earth is the Lord's, and the fullness thereof," that is, everything contained in it. Or thus: abstain from this food, for the whole earth is the Lord's, and you can be satisfied with something else, for e...verything is open to you.
Source: Commentary on 1 Corinthians