The final moments of David's legendary army commander reach their peak in a dramatic confrontation at the most sacred site. Following a series of political executions designed to secure his new rule, Solomon turns his attention to Joab. Hearing of Adonijah's execution, Joab realizes his time is up. Having supported Adonijah's rebellion against David and Solomon, and having backed his request for Abishag, Joab knows he shares the guilt and that Solomon will not spare him [אברבנאל]. Desperate, he seeks political and religious asylum in the Tabernacle, grasping the horns of the altar in hopes of being saved [רד״ק].
However, Joab gravely misunderstands the laws of asylum. The altar provides protection only for accidental killers, not intentional ones, and even then, safety is granted only to someone on the roof of the altar, not someone merely holding its horns [רד״ק]. Furthermore, the altar offers no immunity for rebellion against the crown or for actions that desecrate the name of God [אברבנאל]. Recognizing that the altar provides no actual shelter, Solomon sends Benaiah son of Jehoiada to strike Joab down wherever he is found, even inside the sacred tent [אברבנאל]. Ironically, Benaiah acts as the royal executioner, stepping directly into the very role Joab himself once filled [ביאור שטיינזלץ].
Despite explicit orders, Benaiah does not kill him immediately, attempting instead to convince Joab to come outside. As the man slated to inherit Joab's command, Benaiah wants to avoid the appearance of killing his predecessor for personal gain. He hopes to bring Joab before Solomon to beg for his life and potentially receive a pardon, similar to the mercy shown to Abiathar [אברבנאל]. Alternatively, Benaiah wants to draw Joab away from the Sanhedrin, the high court sitting in the tent, so the execution will clearly be an act of royal authority rather than a standard court sentence [אלשיך].
Joab refuses to leave, choosing to die exactly where he stands. This refusal stems from a calculated strategy. He possibly hopes to sabotage Solomon by forcing him to shed blood within the sanctuary, thereby inciting divine and public anger [אברבנאל]. At the same time, dying near the Sanhedrin serves as a final legal maneuver. Those executed by royal decree forfeit their property to the king and lose their right to an ancestral burial. By demanding to die under the jurisdiction of the court, Joab seeks to protect his sons' inheritance and ensure a proper burial. Ultimately, Solomon grants these final requests regarding the property and burial. However, he insists that Benaiah carry out the execution strictly as the king's agent. This public royal execution serves to broadcast that Joab is dying specifically for his past murders of Abner and Amasa, thereby clearing the house of David from any lingering bloodguilt [אלשיך, אברבנאל].