2 Samuel 8:2

Amplified Bible (AMP)
He defeated [a]Moab, and [b]measured them with a length of rope, making them lie down on the ground; he measured two lengths to [choose those to] put to death, and one full length to [choose those to] be kept alive. And the [surviving] Moabites became servants to David, bringing tribute.

Read 2 Samuel 8:2 in other translations