They knew God but did not praise and thank him for being God. Instead, their thoughts were pointless, and their misguided minds were plunged into darkness.
Now about eating food that was offered to false gods: We know that the false gods in this world don’t really exist and that no god exists except the one God.