1Some time later, David defeated the Philistines, subdued them, and took Metheg-ammah from the hand of the Philistines.
2David also defeated the Moabites, made them lie down on the ground, and measured them off with a cord. He measured off with two lengths those to be put to death, and with one length those to be spared. So the Moabites became subject to David and brought him tribute.
— 2 Samuel 8:1-2