And he smote Moab; and the Moabites became David's servants, and brought gifts.
David also defeated the Moabites, and they became subject to David and brought him tribute.
Read 1 Chronicles 18