"No temptation has seized you except what is common to man. And God is faithful; he will not let you be tempted beyond what you can bear. But when you are tempted, he will also provide a way out so that you can stand up under it." NIV translation
The Greek word used here for temptation is "peirasmon" and it can be translated as "trial" or "test". This has caused some confusion in the faith but, as we see here, there is a big difference. God allows our trials but He does not do the tempting. Satan is the tempter and his goal is to get us to sin against God. A trial is allowed by God because He knows that we will stand strong and grow in our faith. It is important to see that all of our temptations are "common to man" in order to stand strong against the devil. Many times the devil will try to tell you that your sins are unique to you and kind of try to separate you from the rest of mankind as being worse than others. This is the same tactic that a wolf will use in trying to attack a herd of sheep. The wolf will first try to isolate a sick or wounded sheep from the herd and then devour it. When Satan tries to isolate you, remember this verse and trust in God because He has provided a way for you to overcome and stand strong.
"Therefore, my dear friends, flee from idolatry." NIV translation
There are fourteen Hebrew words for idolatry and some apply to external objects of worship while some refer to internal things. Paul urges us to flee from all of them but that does not mean that we run and hide from the world. Instead, we listen to the prompting of God through the Holy Spirit and focus our minds on Him. We are in the world but we keep in mind the fact that the things of this world are temporary.
"I speak to sensible people; judge for yourselves what I say. is not the cup of thanksgiving for which we give thanks a participation in the blood of Christ? And is not the bread that we break a participation in the body of Christ? Because there is one loaf, we, who are many, are one body, for we all share the one loaf." NIV translation
Now, Paul begins to address the issue of eating meat that was offered to idols. He reminds the Corinthians of the fact that we are all saved by the sacrifice of Jesus Christ and that there is no other way.
"Consider the people of Israel: Do not those who eat the sacrifices participate in the altar?" NIV translation
The answer to Paul's question is yes as the priests were allowed to eat of the offerings and the people were allowed to eat of the peace offerings. The sacrifices were not performed by those who were not God's people and so they could not have eaten of them.