2 Samuel 17 is the seventeenth chapter of the Second Book of Samuel in the Old Testament of the Christian Bible or the second part of Books of Samuel in the Hebrew Bible. Jewish tradition attributes the book to the prophet Samuel, with later additions by the prophets Gad and Nathan; modern scholarship, however, regards it as a compilation of independent texts dated to . This chapter contains the account of David's reign in Jerusalem. This chapter contains the account of David's reign in Jerusalem. This section covers 2 Samuel 9–20 and extends to 1 Kings 1–2, focusing on the power struggles among the sons of David to succeed his throne before "the kingdom was secured in Solomon's hands".

Text This chapter was originally written in the Biblical Hebrew. It is divided into 29 verses.

Textual witnesses Some early manuscripts containing this chapter in Biblical Hebrew belong to the Masoretic Textual tradition, including the Codex Cairensis (895), Aleppo Codex (10th century), and Codex Leningradensis (1008). Fragments containing parts of this chapter in Hebrew were found among the Dead Sea Scrolls including 4Q51 (4QSam; ) with extant verses 2–3, 23–25, and 29.Dead sea scrolls - 2 Samuel4Q51 at the Leon Levy Dead Sea Scrolls Digital Library

Extant ancient manuscripts of a translation into Koine Greek known as the Septuagint (compiled in the last few centuries BCE) include Codex Vaticanus (B; B; 4th century) and Codex Alexandrinus (A; A; 5th century).

Analysis Chapter 17 forms the central portion of the account of Absalom's occupation of Jerusalem and David's arrival at Mahanaim. In Christian scholar Craig Morrison's larger arrangement of the rebellion narrative, David's arrival at Mahanaim constitutes the narrative center, framed by his departure from and eventual return to Jerusalem.

The chapter first presents competing proposals from Ahitophel and Hushai. Ahitophel recommends an immediate nighttime pursuit by 12 thousand men, reasoning that David is exhausted and vulnerable and that killing him alone would permit the remainder of his supporters to return peacefully to Absalom (17:1–4). Malbim interprets Ahitophel's proposal as resting on four tactical conditions: the pursuit must begin immediately, Ahitophel must personally command it, the force must be limited and mobile, and David alone must be killed. According to Malbim, Ahitophel does not first consult Hushai because he knows that Hushai would oppose a plan directed specifically at David's death.

Hushai instead emphasizes David's military experience and the desperation of his warriors, warning that an initial reverse could demoralize Absalom's supporters. He recommends assembling all Israel from Dan to Beersheba and placing Absalom personally at the head of an overwhelming force (17:5–13). Hushai's proposal offers Absalom the prospect of leading a national army, but its practical effect is to delay the pursuit and give David time to reorganize and cross the Jordan River.

Absalom and the Israelite assembly prefer Hushai's proposal, but the narrator explicitly identifies Ahitophel's rejected counsel as "the good counsel" (). The Eternal had determined "to frustrate the good counsel of Ahitophel" (), so that disaster would come upon Absalom (17:14). Malbim similarly states that Hushai's proposal was accepted through divine intervention, since following Ahitophel's advice would have enabled Absalom's forces to overtake and defeat David. The verse therefore presents Hushai's success as the answer to David's earlier prayer that Ahitophel's counsel be frustrated (15:31), while acknowledging the tactical superiority of Ahitophel's plan.

Hushai then communicates both proposals to the priests Zadok and Abiathar and instructs them to warn David not to remain at the wilderness crossings (17:15–16). His command uses a finite verb reinforced by an infinitive absolute, , emphasizing the urgency of crossing the Jordan. Malbim distinguishes the two parts of Hushai's warning: David must not remain overnight, lest the king be destroyed, and he must also cross with all his followers, lest the entire company be destroyed. Radak identifies the implied object of as the Jordan and explains that Hushai remained concerned that Absalom and his supporters might reverse their decision and return to Ahitophel's proposal. David was therefore not merely to leave the known wilderness crossings but to cross the river during the night.

Jonathan and Ahimaaz carry the warning, aided by a servant woman and subsequently concealed by a woman at Bahurim when their movements are reported to Absalom (17:17–20). Their successful transmission of the message enables David and his entire party to cross the Jordan before morning; the narrator emphasizes that not one person failed to cross (17:21–22).

Morrison places this crossing within a repeated pattern formed from the Hebrew root (, or , which occurs with unusual frequency throughout the rebellion narrative. The motif accompanies David's departure from Jerusalem, his passage across the Jordan, and his eventual return. Morrison also identifies qualified parallels with Israel's entry into the land in the Book of Joshua: both narratives involve a Jordan crossing, an eventual arrival at Gilgal, and a woman concealing agents whose mission is essential to the outcome. Unlike Joshua's crossing, however, David's passage involves no public miracle at the river. The explicit theological interpretation occurs instead in verse 14, where the narrator attributes the rejection of Ahitophel's effective counsel to divine purpose.

Hushai countered Ahitophel's advice (17:1–14) The preceding section of the narrative, 2 Samuel 16:15–23, and the account of the competing counsel in 17:1–14 form a symmetrical literary unit. Christian biblical scholar Craig Morrison outlines the structure as follows:

A. Absalom and Hushai (16:15–19) B. Ahitophel's first counsel (16:20–22) C. Narratorial assessment of Ahitophel (16:23) B′. Ahitophel's second counsel (17:1–4) A′. Absalom and Hushai (17:5–14a) C′. Narratorial explanation of Ahitophel's rejection (17:14b)

The arrangement frames Ahitophel's two proposals with Hushai's arrival and counterproposal. The first narratorial comment describes Ahitophel's counsel as carrying authority comparable to divine inquiry, whereas the second explains why his strategically effective proposal was rejected. The scene fulfills the task David had assigned Hushai, namely to frustrate Ahitophel's counsel, and uses the communication network established among Hushai, Zadok, Abiathar, and the priests' sons in the preceding chapter (15:24–29, 32–37).

Ahitophel proposes pursuing David that same night with twelve thousand men. His plan depends on speed, surprise, and a narrowly defined objective: David is to be killed while exhausted and demoralized, while his scattered followers are to be allowed to return peacefully to Absalom (17:1–4). The wording of verse 3 is textually difficult. The Septuagint compares the people's return to a bride returning to her husband, emphasizing Ahitophel's expectation that David's death would allow the remainder of the opposition to reconcile with Absalom. Jewish biblical commentator Malbim interprets the proposal as depending on four conditions: immediate pursuit, Ahitophel's personal command, a limited and mobile force, and the killing of David alone. He further suggests that Ahitophel did not consult Hushai because he expected him to oppose a plan directed specifically at David's death.

Although Ahitophel's proposal pleases Absalom and the elders of Israel, Absalom also summons Hushai to offer counsel (17:4–6). Hushai counters Ahitophel's proposal by emphasizing David's military experience and the determination of his followers. He compares them to a bear bereaved of her cubs and argues that David will not remain with the main body of his forces. An initial loss among Absalom's troops, he warns, could create the impression that Absalom's supporters had suffered a defeat and weaken their morale (17:7–10).

Hushai therefore recommends delaying pursuit until all Israel can be assembled "from Dan to Beer-sheba," with Absalom personally leading the campaign (17:11–13). His proposal combines an appeal to caution with images of overwhelming numbers and gives Absalom a prominent role as commander of a national force. Malbim characterizes Hushai's proposal as a reversal of Ahitophel's plan in its principal details: delay replaces immediate action, mass mobilization replaces a limited detachment, and Absalom replaces Ahitophel as commander.

Hushai's proposal creates the delay David needs to receive warning, reorganize his followers, and cross the Jordan River. The narrator, however, identifies divine purpose rather than Hushai's rhetoric alone as the decisive factor. Although Absalom and the Israelites judge Hushai's proposal superior, the narrator describes Ahitophel's rejected plan as "the good counsel" and states that God had determined to frustrate it so that disaster would come upon Absalom: Malbim likewise interprets the preference for Hushai's proposal as divine intervention, since following Ahitophel's plan would have enabled Absalom's forces to overtake David. The outcome thus fulfills David's earlier prayer that Ahitophel's counsel be frustrated (15:31).

Hushai's warning saved David (17:15–29)

After Absalom and the Israelites preferred Hushai's counsel, Hushai reported both his own proposal and Ahitophel's to the priests Zadok and Abiathar (17:15). He instructed them to warn David not to remain overnight at the wilderness crossings but to cross the Jordan River without delay, since Ahitophel's proposal might still place David and his followers in danger (17:16). The Malbim distinguishes the two elements of the warning: David was not to remain overnight, lest he be destroyed, and he was to cross with all his followers, lest the entire company be overtaken. Jewish biblical commentator Radak interprets the urgency as reflecting Hushai's concern that Absalom might reconsider and return to Ahitophel's plan.

The warning passed through the communication network established during David's departure from Jerusalem. A female servant carried the message from the priests to their sons, Jonathan and Ahimaaz, who were waiting at En-rogel because they could not safely be seen entering the city (17:17). A young man saw them and reported their movements to Absalom, but they escaped to Bahurim and concealed themselves in a well. The wife of the householder covered the well and scattered grain over it, then directed Absalom's servants away from the fugitives (17:18–20). Jonathan and Ahimaaz subsequently reached David and delivered the warning. David and his entire party crossed the Jordan before morning, with the narrator emphasizing that no one remained behind (17:21–22).

Verses 23–29 describe the immediate consequences of the rejected counsel and the preparations for the coming conflict. When Ahitophel saw that his proposal had not been followed, he returned to his town, put his household in order, and died by suicide; the text does not state his precise motive (17:23). His death removes from Absalom's side the counselor whose advice had previously been regarded as exceptionally authoritative.

David reached Mahanaim, while Absalom and his forces crossed the Jordan and encamped in Gilead (17:24 and 26). Absalom appointed Amasa commander of his army in place of Joab, who remained David's commander (17:25). Amasa and Joab are presented as relatives through their mothers, Abigail and Zeruiah, respectively, though the description of Amasa's parentage differs in some details from 1 Chronicles 2:16–17.