2 Samuel 8:2 in the King James Version
And he smote Moab, and measured them with a line, casting them down to the ground; even with two lines measured he to put to death, and with one full line to keep alive. And so the Moabites became David’s servants, and brought gifts.
Context
1 After this, David struck the Philistines and subdued them; and David took the bridle of the mother city out of the hand of the Philistines.
2 He defeated Moab, and measured them with the line, making them to lie down on the ground; and he measured two lines to put to death, and one full line to keep alive. The Moabites became servants to David, and brought tribute.
3 David also struck Hadadezer the son of Rehob, king of Zobah, as he went to recover his dominion at the River.