Some time later, David defeated the Philistines and subdued them. David captured Metheg-ammah from Philistine control.
David also defeated the Moabites and made them lie on the ground, measuring them with a rope. He measured two rope lengths for those who were to be killed and one rope length for those who were to be spared. The Moabites became David's subjects and brought him tribute.
Next David defeated Zobah's King Hadadezer, Rehob's son, as Hadadezer was on his way to put his monument along the Euphrates River.
David captured one thousand chariots, seven hundred charioteers, and twenty thousand foot soldiers. He cut the hamstrings of all but one hundred of the chariot horses.
When the Arameans of Damascus came to help Zobah's King Hadadezer, David killed twenty-two thousand of them.
David set up forts among the Arameans of Damascus. And the Arameans became David's subjects and brought him tribute. The LORD gave David victory wherever he went.
David took the gold shields carried by Hadadezer's servants and brought them to Jerusalem.
King David also took a large amount of bronze from Tebah and Berothai, towns that belonged to Hadadezer.
When Hamath's King Toi heard that David had defeated the entire army of Hadadezer,
he sent his son Joram to King David to wish him well and congratulate him on his battle and defeat of Hadadezer, because Toi was an enemy of Hadadezer. Joram brought silver, gold, and bronze objects with him.
King David dedicated these to the LORD, along with the silver and gold he had dedicated from all the nations that he had subdued:
Edom, Moab, the Ammonites, the Philistines, and Amalek, including the plunder of Zobah's King Hadadezer, Rehob's son.
So David made a name for himself. When he returned, he killed eighteen thousand Edomites in the Salt Valley.
He set up forts in Edom, and all the Edomites became David's subjects. The LORD gave David victory wherever he went.
David ruled over all Israel and maintained justice and righteousness for all his people.
Zeruiah's son Joab was in command of the army; Ahilud's son Jehoshaphat was recorder;
Ahitub's son Zadok and Ahimelech's son Abiathar were priests; Seraiah was secretary;
Jehoiada's son Benaiah was in command of the Cherethites and the Pelethites; and David's sons were priests.