Had these [false deities] been [actual] gods, they would not have come to it, but all are eternal therein.
The Saheeh International Quran Translation
لَوْ كَانَ هَٰٓؤُلَآءِ ءَالِهَةً مَّا وَرَدُوهَا وَكُلٌّ فِيهَا خَٰلِدُونَHad these [false deities] been [actual] gods, they would not have come to it, but all are eternal therein.