Divine providence actively guards the moral foundation of good people by ensuring that corruption never becomes a permanent fixture in their lives. While hardship and wicked leadership may appear, God guarantees they will not take root in the inheritance of the righteous.
The symbol of wicked power takes on two primary forms. On one hand, it represents the physical authority and government of corrupt rulers [מצודת ציון, ביאור שטיינזלץ]. This ruling power might be foreign nations [אבן עזרא, מאירי] or any wicked individuals, whether from within the community or outside of it [רד״ק]. On the other hand, this power can be understood as a whip of discipline or a wave of calamity sweeping across the land to bring punishment [מלבי״ם, ביאור שטיינזלץ]. Regardless of its form, there is a clear promise that this evil will not find a permanent resting place. Even if corrupt rulers hold power for a time, or disaster briefly strikes the region, they will not remain permanently [אלשיך, מצודת דוד, מלבי״ם].
The specific domain protected by this promise is the inheritance of the righteous. This refers to the Land of Israel, which was originally divided and given as a physical inheritance [אבן עזרא, מצודת ציון]. More specifically, it points to the city of Jerusalem, recognized as God's own chosen portion [רד״ק, מאירי].
The removal of wickedness serves a vital protective purpose. The primary approach among commentators is that God limits the reign of evil to prevent the moral decline of good people. If corrupt leadership were allowed to persist indefinitely, the righteous might slowly absorb and learn from their wicked behaviors [רד״ק, אבן עזרא]. Furthermore, living under an entrenched, corrupt system could force innocent people to participate in unjust acts simply to survive [ביאור שטיינזלץ].
Beyond the danger of bad influence, prolonged exposure to successful evil creates a profound spiritual danger. If the righteous were to watch the wicked thrive over a long period, or if they suffered the exact same calamities without any distinction, they might begin to question God's justice. This deep despair could ultimately drive them to abandon their faith and choose the path of sin [אלשיך, מצודת דוד, מלבי״ם]. Alternatively, some view this dynamic not as a preventative measure for the future, but as a direct result of past actions. In this view, evil fails to take hold over the righteous simply because they actively avoid sin and commit themselves to doing good [רש״י, מאירי].
On a more intimate level, this concept of divine protection extends to personal life events. The sages apply this principle to the idea of individual providence, specifically regarding marriage. They teach that a person is matched with a spouse based on their own actions and character. Therefore, the personal lot of a righteous individual is carefully tailored to their level of goodness, remaining safely outside the control or influence of wickedness [תורה תמימה].