Then Hushai said to the priests Zadok and Abiathar, "Thus and so did Ahithophel counsel Absalom and the elders of Israel; and thus and so I have counseled. Therefore send quickly and tell David, 'Do not lodge tonight at the fords of the wilderness, but by all means cross over; otherwise the king and all the people who are with him will be swallowed up.'" Jonathan and Ahimaaz were waiting at En-rogel; a servant-girl used to go and tell them, and they would go and tell King David; for they could not risk being seen entering the city. But a boy saw them, and told Absalom; so both of them went away quickly, and came to the house of a man at Bahurim, who had a well in his courtyard; and they went down into it. The man's wife took a covering, stretched it over the well's mouth, and spread out grain on it; and nothing was known of it. When Absalom's servants came to the woman at the house, they said, "Where are Ahimaaz and Jonathan?" The woman said to them, "They have crossed over the brook of water." And when they had searched and could not find them, they returned to Jerusalem.
After they had gone, the men came up out of the well, and went and told King David. They said to David, "Go and cross the water quickly; for thus and so has Ahithophel counseled against you."
So David and all the people who were with him set out and crossed the Jordan; by daybreak not one was left who had not crossed the Jordan.
When Ahithophel saw that his counsel was not followed, he saddled his donkey and went off home to his own city. He set his house in order, and hanged himself; he died and was buried in the tomb of his father.
Then David came to Mahanaim, while Absalom crossed the Jordan with all the men of Israel.
Now Absalom had set Amasa over the army in the place of Joab. Amasa was the son of a man named Ithra the Ishmaelite, who had married Abigal daughter of Nahash, sister of Zeruiah, Joab's mother. The Israelites and Absalom encamped in the land of Gilead.
When David came to Mahanaim, Shobi son of Nahash from Rabbah of the Ammonites, and Machir son of Ammiel from Lo-debar, and Barzillai the Gileadite from Rogelim, brought beds, basins, and earthen vessels, wheat, barley, meal, parched grain, beans and lentils, honey and curds, sheep, and cheese from the herd, for David and the people with him to eat; for they said, "The troops are hungry and weary and thirsty in the wilderness."