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/translate/figs-simile]] and [[rc://en/ta/man/translate/figs-parallelism]])