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