Some time later, David defeated the Philistines, subdued them, and took Metheg-ammah from the hand of the Philistines.
David finally finishes what earlier judges and even Saul himself never managed — bringing the Philistines fully under Israelite control rather than merely holding them off, taking away the very stronghold that had let them dominate the region for so long.
David 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.
Moab's captured fighting men are made to lie down in rows and are measured off by a cord, two portions put to death and one spared — a severe, deliberate practice of ancient warfare that this text records without either commending it as a model or pausing to condemn it. The surviving third become David's subjects, paying tribute rather than continuing as an independent, and previously hostile, kingdom on Israel's border.
David also defeated Hadadezer son of Rehob, king of Zobah, who had marched out to restore his dominion along the Euphrates River.
David's campaign against Zobah pushes Israel's border out toward the Euphrates — the very edge of the territory God had promised to Abraham's descendants centuries earlier, land Israel had never actually possessed until now.
When King Toi of Hamath heard that David had defeated the entire army of Hadadezer,
Toi's own long-running conflict with Hadadezer makes David's victory good news for him as well as for Israel — a rival kingdom's defeat removes a threat Toi had been living with for years.
And David made a name for himself when he returned from striking down eighteen thousand Edomites in the Valley of Salt.
Edom, Esau's own descendants and a people with a long, complicated history alongside Israel, falls under David's control in the same pattern as everyone else in this chapter — defeated, garrisoned, made tributary rather than annihilated.
Thus David reigned over all Israel and administered justice and righteousness for all his people:
The chapter pivots from David's wars abroad to his government at home in a single verse — a king who fights on multiple fronts simultaneously still administers justice and equity to every one of his own people, not merely to Israel's most powerful or well-connected.
Joab son of Zeruiah was over the army; Jehoshaphat son of Ahilud was the recorder;
David's kingdom has grown large enough to need a formal administration rather than running on one man's personal attention — Joab commands the army, and Jehoshaphat keeps the official record of the kingdom's business, the first sign in this book of a genuine governmental structure rather than an improvised court.