The pagan gods were not there when the heavens and earth were created, and they are not eternal.
The original text of this verse is in Aramaic. This might suggest it quotes an Aramaic saying and was directed at the exiles in Babylon, where people spoke Aramaic.