2nd Samuel 8:1 And after this it came to pass that David smote the Philistines, and subdued them: and David took Methegammah out of the hand of the Philistines.
[Patriarchs & Prophets pp 713>714] After David's establishment upon the throne of Israel the nation enjoyed a long interval of peace. The surrounding peoples, seeing the strength and unity of the kingdom, soon thought it prudent to desist from open hostilities; and David, occupied with the organization and upbuilding of his kingdom, refrained from aggressive war. At last, however, he made war upon Israel's old enemies, the Philistines, and upon the Moabites, and succeeded in overcoming both and making them tributary.
Then there was formed against the kingdom of David a vast coalition of the surrounding nations, out of which grew the greatest wars and victories of his reign and the most extensive accessions to his power. This hostile alliance, which really sprang from jealousy of David's increasing power, had been wholly unprovoked by him. The circumstances that led to its rise were these.
Tidings were received at Jerusalem announcing the death of Nahash, king of the Ammonites—a monarch who had shown kindness to David when he was a fugitive from the rage of Saul. Now, desiring to express his grateful appreciation of the favor shown him in his distress, David sent ambassadors with a message of sympathy to Hanun, the son and successor of the Ammonite king. “Said David, I will show kindness unto Hanun the son of Nahash, as his father showed kindness unto me.”
2nd Samuel 10:2 And David sent to comfort him by the hand of his servants for his father. And David's servants came into the land of the children of Ammon.
May The Lord add His blessing to the study of His word. God bless!