2 Samuel 15:6-12

ISV(i) 6 By doing all of this to anyone who came to the king for a hearing, Absalom stole the loyalty of the men of Israel.
7 And so it was that forty years after Israel had demanded a king, Absalom asked the king, “Please let me go to Hebron so I can pay my vow that I made to the LORD, 8 because when I was living at Geshur in Aram, your servant made this solemn promise: ‘If the LORD ever brings me back to Jerusalem, then I will serve the LORD.’”
9 The king replied to him, “Go in peace!” So Absalom got up and left for Hebron.
10 But Absalom sent agents throughout all of the tribes of Israel, telling them, “When you hear the sound of the battle trumpet, you’re to announce that Absalom is king in Hebron.” 11 Meanwhile, 200 men left Jerusalem with Absalom. They had been invited to go along, but were innocent, not knowing anything about what was happening. 12 Absalom also sent for Ahithophel the Gilonite, David’s counselor, to come from his home town of Giloh while Absalom was presenting the sacrificial offerings. And so the conspiracy widened, because the common people increasingly sided with Absalom.