Nobody was saying that they were the same.
The way that I interpret the verse is that the demons believe because they know that God exists and that Christ is His Messiah.
But it doesn’t follow that they follow Him.
But the verse doesnt say that. It simply says that the demons believe that God is. They dont believe on Him nor do they believe that Jesus is the Messiah.