King David faces fierce enemies, but rather than seeking their swift destruction, he asks for a punishment that serves as a lasting moral lesson. An immediate end to his foes might seem like the ultimate victory, yet a sudden death is quickly forgotten by those who witness it. If the enemies were to die right away, the public would soon lose sight of God's justice and His vengeance against the wicked, missing out on a long-term educational message [רש״י, רד״ק, אבן עזרא, מצודת דוד]. Alternatively, this request is tied to a specific historical moment when David fled his home through a window. In this scenario, he asks that the guards surrounding his house be spared so that the public will always remember the injustice committed against him [מלבי״ם].
Instead of death, the desired consequence is an ongoing state of humiliation. The enemies are to be shaken from their secure positions and turned into aimless wanderers [מצודת ציון, מאירי, ביאור שטיינזלץ]. This wandering is understood as a drastic fall into poverty, forcing them to go door to door begging for bread [רד״ק, אבן עזרא]. From the historical perspective of David's escape, the shaking simply refers to moving the guards away from their posts so they would not notice him slipping away [מלבי״ם]. Alongside this physical displacement, there is a plea to bring the enemies down from their high social standing, stripping them of their wealth and greatness [רש״י, אבן עזרא, אלשיך].
The force driving this punishment is understood in two distinct ways. The primary approach among commentators is that God will use His own immense power and strength to scatter the enemies [מצודת ציון, מצודת דוד, מאירי]. Another perspective suggests that the power refers to the people of Israel, acting as God's army. In this view, the enemies will be forced to wander and beg for survival specifically among the Israelites [רד״ק, אבן עזרא]. Ultimately, God is recognized as the ultimate source of security, acting as a warrior holding a protective shield [מצודת ציון]. Because God actively guards His people, leaving these enemies alive poses no actual threat or danger [אלשיך]. This reliance on God carries an underlying historical contrast: God is the true king and protector, standing in sharp contrast to King Saul, who abused his royal power to order David's execution [אבן עזרא].