Paul wrote about a similar type of situation that was happening in the early church regarding eating meat that had been offered to idols. His instructions to the church on this and several broader topics are applicable to us here as well. Let us look at what he says to the Corinthian church.
1 Corinthians 8:1-13
[8:1] Now concerning food offered to idols: we know that “all of us possess knowledge.” This “knowledge” puffs up, but love builds up.  If anyone imagines that he knows something, he does not yet know as he ought to know.  But if anyone loves God, he is known by God.
 Therefore, as to the eating of food offered to idols, we know that “an idol has no real existence,” and that “there is no God but one.”  For although there may be so-called gods in heaven or on earth—as indeed there are many “gods” and many “lords”— yet for us there is one God, the Father, from whom are all things and for whom we exist, and one Lord, Jesus Christ, through whom are all things and through whom we exist.
 However, not all possess this knowledge. But some, through former association with idols, eat food as really offered to an idol, and their conscience, being weak, is defiled.  Food will not commend us to God. We are no worse off if we do not eat, and no better off if we do.  But take care that this right of yours does not somehow become a stumbling block to the weak.  For if anyone sees you who have knowledge eating in an idol's temple, will he not be encouraged, if his conscience is weak, to eat food offered to idols?  And so by your knowledge this weak person is destroyed, the brother for whom Christ died.  Thus, sinning against your brothers and wounding their conscience when it is weak, you sin against Christ.  Therefore, if food makes my brother stumble, I will never eat meat, lest I make my brother stumble.
What Paul is saying is that food offered to idols (and ancestors) is fine to eat because the idols are actually not gods at all. Indeed, it is the real and only God Yahweh who has made all food for man (cf. Genesis 1:29 and Genesis 9:3). So in essence, there is nothing wrong with eating food that has been offered to ancestors or idols.
However, some believers, especially those with backgrounds in idol worship, are sensitive concerning this issue and consider it morally wrong to eat meat sacrificed to idols. So Paul is saying that under no circumstances should a believer (by eating foods offered to idols) cause another to violate his own conscience and fall into sin.
The higher principle that comes into play here is love. How so? We need to ask ourselves: "Will I stumble believers if I eat the food? Will they see me eat it and take a blow to their faith? Will they get shaken and start to take the glory of God too casually?" If there is any risk at all that this might happen, then out of love for the believer, I should not eat it, so that I will not cause another believer to stumble.
As a believer, we should maintain a pure testimony. This extends even to our testimony before unbelievers. If an unbeliever sounds out to you that a particular food has been offered to idols, thinking that you will refrain from eating it, then do not eat it. This unbeliever considers the food tainted by the idols whom you do not want to associate with. Eating it will put your beliefs and testimony in question in the mind of this unbelieving friend.
Therefore, even though there is nothing wrong with eating such food, but for the sake of our believing and unbelieving friends, their conscience and our pure testimony, we should refrain.
However, if our believing friends know there is nothing wrong with eating food offered to idols and our unbelieving friends also do not associate your eating of such food with the worship of the idols, then there is nothing wrong in eating the food.