These words mean that the punishment of the impious will be similar to the massacre of the Sodomites. "Their roots dry beneath, and their branches wither above" so that nothing useful to the impious may remain anywhere, beneath or above the ground.
Source: COMMENTARY ON JOB 18:15-16