But I don't think this says anything about the actual objective godhood of said creatures. Q is probably way more powerful than the Wormhole Aliens, he certainly meets technical definition of 'god.' The difference does not lie in objective reality, it lies in the attitudes of those who experience it, and as this is fiction, in how the story is presented.
I hadn't thought about some of the details of that before. It shows a lot about Star Fleet that when they run into someone who can snap their fingers and wipe out 50-billion members of a race across the galaxy, that they classify that as "science they don't know yet" instead of having a more primal/pre-scientific reaction.