Revelations 2
6'Yet this you do have, that you hate the deeds of the Nicolaitans, which I also hate.
.....................
14‘But I have a few things against you, because you have there some who hold the teaching of Balaam, who kept teaching Balak to put a stumbling block before the sons of Israel, to eat things sacrificed to idols and to commit acts ofimmorality.
15‘So you also have some who in the same way hold the teaching of the Nicolaitans.
,,,,,,,,,,,,,,,,,,,,,
20‘But I have thisagainst you, that you tolerate the woman Jezebel, who calls herself a prophetess, and she teaches and leads My bond-servants astray so that they commit acts of immorality and eat things sacrificed to idols.
Jesus was rebuking the Nicolaitians (churches influenced by Nicholas) who taught that the Law had been abolished, so they could do anything without fear, even sin by taking part in orgies after sacrificing to idols.
In fact, Jesus declared all foods clean. It was the sinning He was against.
Mark 7
18“Are you still so dull?” He asked. “Do you not understand? Nothing that enters a man from the outside can defile him, 19
because it does not enter his heart, but it goes into his stomachand then is eliminated.” (Thus all foods are clean.) 20He continued: “What comes out of a man, that is what defiles him.