2 Samuel 15:30-37 - Hushai Offers To Serve King David
30 And David went up the ascent of the Mount of Olives, and wept as he went, and his head was covered and he walked barefoot. Then all the people who were with him each covered his head and went up weeping as they went.
31 Now someone told David, saying, "Ahithophel is among the conspirators with Absalom " And David said, "O LORD, I pray, make the counsel of Ahithophel foolishness."
32 It happened as David was coming to the summit, where God was worshiped, that behold, Hushai the Archite met him with his coat torn and dust on his head. 33 David said to him, "If you pass over with me, then you will be a burden to me. 34 "But if you return to the city, and say to Absalom, 'I will be your servant, O king; as I have been your father's servant in time past, so I will now be your servant,' then you can thwart the counsel of Ahithophel for me. 35 "Are not Zadok and Abiathar the priests with you there? So it shall be that whatever you hear from the king's house, you shall report to Zadok and Abiathar the priests. 36 "Behold their two sons are with them there, Ahimaaz, Zadok's son and Jonathan, Abiathar's son; and by them you shall send me everything that you hear." 37 So Hushai, David's friend, came into the city, and Absalom came into Jerusalem.