David escapes Jerusalem and prepares for the battle with Absalom, who is killed by Joab.