2 Samuel 10:1-6

ISV(i) 1 Subjugation of Ammon and Aram
Sometime later, the Ammonite king died and his son Hanun succeeded him as king, 2 so David told himself, “I will be loyal to Nahash’s son Hanun, since in his loyalty his father showed gracious love to me.” So David sent a delegation to Hanun to console him about his loss of his father.
But when David’s delegation arrived in Ammonite territory, 3 the Ammonite officials asked their lord Hanun, “Do you think that because David has sent a delegation of consolers to you that he is honoring your father? His delegation has arrived intending to search, scout the land, and then overthrow it, hasn’t it?” 4 So Hanun arrested David’s delegation, shaved off half of their beards, cut off their clothes at the waist line, and sent them away in disgrace.
5 When David had been informed about the incident, he sent word to them, since the men had been deeply humiliated. The king told them, “Stay at Jericho until your beards have grown back, and then return.”
6 When the Ammonites realized that they had created quite a stink with David, they hired 20,000 Aramean mercenaries from Beth-rehob and Zobah, along with the king of Maacah and 1,000 men, and 12,000 men from Tob.