2 Samuel 15:32-37
15:32 When David reached the summit, where he used to worship God, Hushai the Arkite met him with his clothes torn and dirt on his head.
15:33 David said to him, “If you leave with me you will be a burden to me.
15:34 But you will be able to counter the advice of Ahithophel if you go back to the city and say to Absalom, ‘I will be your servant, O king! Previously I was your father’s servant, and now I will be your servant.’
15:35 Zadok and Abiathar the priests will be there with you. Everything you hear in the king’s palace you must tell Zadok and Abiathar the priests.
15:36 Furthermore, their two sons are there with them, Zadok’s son Ahimaaz and Abiathar’s son Jonathan. You must send them to me with any information you hear.”
15:37 So David’s friend Hushai arrived in the city, just as Absalom was entering Jerusalem.
2 Samuel 16:16-19
16:16 When David’s friend Hushai the Arkite came to Absalom, Hushai said to him,
“Long live the king! Long live the king!”
16:17 Absalom said to Hushai, “Do you call this loyalty to your friend? Why didn’t you go with your friend?”
16:18 Hushai replied to Absalom, “No, I will be loyal to the one whom the Lord, these people, and all the men of Israel have chosen.
16:19 Moreover, whom should I serve? Should it not be his son? Just as I served your father, so I will serve you.”