When King Toi of Hamath heard that David had defeated the whole army of Hadadezer,
Toi sent his son Joram to King David, to greet him and to congratulate him because he had fought against Hadadezer and defeated him. Now Hadadezer had often been at war with Toi. Joram brought with him articles of silver, gold, and bronze;
these also King David dedicated to the Lord, together with the silver and gold that he dedicated from all the nations he subdued,
from Edom, Moab, the Ammonites, the Philistines, Amalek, and from the spoil of King Hadadezer son of Rehob of Zobah.
David won a name for himself. When he returned, he killed eighteen thousand Edomites in the Valley of Salt.
He put garrisons in Edom; throughout all Edom he put garrisons, and all the Edomites became David's servants. And the Lord gave victory to David wherever he went.
So David reigned over all Israel; and David administered justice and equity to all his people.
Joab son of Zeruiah was over the army; Jehoshaphat son of Ahilud was recorder;
Zadok son of Ahitub and Ahimelech son of Abiathar were priests; Seraiah was secretary;
Benaiah son of Jehoiada was over the Cherethites and the Pelethites; and David's sons were priests.