The wax worm is a byproduct of a weak hive.  Usually, the worm, eggs, and
moth all must be killed (freezing) in the entire hive.  Then there is a chance
to recover if you can keep the hive healthy and strong.  Keep hive strong and
bees will kill the worms.