A sudden reversal of the natural social order, where unworthy individuals rise to greatness, creates a reality of deep instability and anxiety. When people from the margins of society unexpectedly gain immense power or wealth, they tend to abuse their newfound status.
The first scenario involves a servant who ascends to the throne [ביאור שטיינזלץ]. This sudden rise to power brings turmoil because the new ruler is entirely unfamiliar with royal etiquette and the proper ways of government, leading him to act with madness and instability [מצודת דוד]. From a spiritual perspective, God allows such a servant to rule over the public as a direct punishment for their sins. A leader of this kind shows no mercy to his subjects, leaving the people anxious and agitated [אבן עזרא]. A historical example is Nebuchadnezzar, who was originally a servant to the king of Babylon but won the throne as a reward for taking steps to honor God [אלשיך].
The second scenario centers on a lowly, despicable individual [מצודת ציון] who is wicked and stingy [ביאור שטיינזלץ]. When such a person achieves great success, prosperity, and power [ביאור שטיינזלץ, אבן עזרא], it poses a severe social danger. Seeing a wicked person prosper and lack nothing often inspires others to copy his harmful actions, which only multiplies the anger and anxiety in the world [מצודת דוד]. Haman serves as a clear example of this danger. During a time of war, he was so poor and hungry that he sold himself as a slave just for a loaf of bread. However, once he became wealthy and fully satisfied, he used his vast riches to plot the destruction of Israel [אלשיך].
Ultimately, this grim reality, where the despicable rule over the honorable because of the public's wrongdoings, serves as a powerful lesson teaching people how crucial it is to stay away from sin [אבן עזרא].