The next question asked by the Corinthians was about “idolatrous sacrifices”. In Greek-Roman world it refers to foods offered to different gods. It also involved participating in sacrificial banquets - eating together food offered to gods.
Now, it seems that some among the Corinthians - possessing knowledge that there are no gods (8:4) - participated in such celebration without any qualm of conscience. But others, probably those among the Jewish Christians seen it as idolatry (see a similar discussion in Romans 14 - regarding Sabbath and kosher food).
Paul’s main principle comes in 8:1 - knowledge is one thing, love-agape is another. The word “gnosis” - knowledge - could also meant a special knowledge only for selected few - and in this case it would indeed puff them up (1 Cor 4:6.18–19). For Paul agape is “a more excellent way” and in opposition to gnosis that puffs up (see 1 Cor 12:31; 13:4).
Knowledge, like all other gifts without love, is ‘dangerous’ or ‘detrimental’ (8:2).
Verse 8:3 is an interesting play on the word “gnosis”. Some are proud of their gnosis - that they know something (8:1), but what is more important is to be “known/recognized - egnostai” by God (1 Sam 22:6 - “David was recognized” LXX - Ecclesiastes 23:20 - an intimate knowledge in biblical language).
In this verse agape is connected with knowledge: agape is an active form, whereas “has been known - egnostai” in passive form. So, if one loves God, that person is known by God.
Or
An active love-agape on the part of person is met with an active “knowledge - recognition” of such person on the part of God.
You love God - God recognizes/knows you.
Verses 8:4–7
What is the object of knowledge?
Verse 8:8–13
Now, Paul draws conclusion from this knowledge:
Conscience is an inner voice informing us what is good and what is bad. Yet, it is not a guarantee of avoiding mistakes. Only when the conscience is guided by the Holy Spirit we can be sure of walking the path of truth (Rom 9:1).
The final conclusion of Paul: better to be a ‘vegetarian’ than offend a brother - who has weak conscience (Rom 14:13.20–23).