1 Chronicles 19:1-3

ISV(i) 1 Subjugation of Ammon and Aram
Some time later, King Nahash of Ammon died and his son succeeded him, 2 so David told himself, “I will be loyal to Nahash’s son Hanun, since his father showed loyal, gracious love to me.” So David sent a delegation to console him about his loss of his father.
But when David’s delegation arrived to visit Hanun in Ammonite territory to console him, 3 the Ammonite officials asked 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 to search, overthrow, and scout the land, hasn’t it?”