David's painful decision to hand over the descendants of Saul to the Gibeonites brings to light the difficult process of determining who would face execution and who would be spared. Among those saved is Mephibosheth, a choice rooted deeply in his lineage and the history of his father, Jonathan. Jonathan had absolutely no involvement in Saul's violent actions against the Gibeonites or the priests of Nob. Instead, Jonathan and David shared a profound bond and a covenant of love. Because of this, punishing Mephibosheth for the sins of his grandfather would have been deeply unjust [מצודת דוד, אברבנאל]. Driven by loyalty to the sacred oath they had sworn to God, David did everything in his power to protect his friend's son [מצודת ציון, ביאור שטיינזלץ].
The actual method of selecting the seven men meant for the Gibeonites is understood in two distinct ways. The straightforward approach suggests that David personally chose the individuals, intentionally excluding Mephibosheth to honor his promise to Jonathan [אברבנאל]. A second tradition, however, describes a miraculous selection process involving the Ark of the Covenant. According to this view, David had all of Saul's descendants pass before the Ark, which would physically hold back those destined to die. Recognizing the danger, David prayed intensely, begging for mercy so that the Ark would not claim Mephibosheth [רש״י, חומת אנך, אברבנאל]. While such a targeted prayer might seem like unfair favoritism, God ultimately agreed with David and accepted his plea, ensuring Mephibosheth was rightfully saved during this divine judgment [אברבנאל].
The execution of descendants for the crimes of their ancestors presents a significant moral and legal challenge, as it directly contradicts standard Torah prohibitions. However, this event was not governed by regular legal procedures. Instead, it was carried out under the specific authority of the king. This unique royal power allows a monarch to suspend standard laws of punishment when a severe, urgent crisis demands immediate action to restore order and right a national wrong [מלבי״ם].