David had reached the town of Mahanaim by the time Absalom and the Israelites had crossed the Jordan.