This means that David completely destroyed his enemies. These two phrases "like dust on the ground" and "like mud on the streets" have a similar meaning and are used for emphasis. (See: [[rc://en/ta/man/jit/figs-simile]] and [[rc://en/ta/man/jit/figs-parallelism]])