H e won the war against Moab. And the Moabites were made to work for David, bringing taxes to him.
And he smote the Moabites; and the Moabites became David's servants, brought gifts.