Hushai set up messengers to tell David to flee across the Jordan. They evaded the men of Absalom and went to David and warned him. By morning, all the people with David had crossed the Jordan. Once Ahithophel saw that Absalom did not heed his advice, he went to his house and hanged himself. Absalom named Amasa his new captain of the army in place of Joab, and pursued David across the Jordan. David camped with Shobi in Mahanaim, and he gave them food, shelter, and drink.
David reorganized his troops and set one third of the army under Joab, one third under Abishai, and one third under Ittai.. David intended to lead the armies, but the people insisted he wait in the city, so he stood by the gate and watched them go out. He asked Joab, Abishai, and Ittai to deal gently with Absalom for his sake. The people of David fought against Absalom’s troops, and killed at least 20,000. Then Absalom met the people of David. He rode on a mule, and while going under the boughs of a great terebinth tree and caught his head in the tree. He was hanging between heaven and earth. People rold Joab that Absalom was hanging from a tree. Joab took three spears in his hand and thrust them through Absalom’s heart, and ten young men surrounded him and struck and killed him. Joab sounded the trumpet and called back the people. They threw Absalom into a pit in the woods, and laid a heap of rocks on him.
When people get in God’s way, it can be costly. Absalom schemed and worked against his own father to acheive the kingdom, but only kept it a few days until he lost his life in battle against David’s servants. Be sure that you do not maneuver or manipulate your way into something, especially if God has already placed someone there. It could cost you everything!