The inhabitants of Judah lived in a state of religious complacency. With the Temple standing, the sacrificial system operating smoothly, and idolatry largely abandoned, the nation felt entirely secure and self-satisfied. Yet, this illusion of piety is abruptly shattered by a harsh prophetic rebuke. Earlier, the people had lamented that they were nearly wiped out like the ancient, ruined cities of Sodom and Gomorrah. Taking up their very own expression, the prophet confirms that their devastation is completely justified, as their moral corruption perfectly mirrors the wickedness of those infamous cities [אבן עזרא, שד״ל, ביאור שטיינזלץ]. This reflects the principle that a person should never open their mouth to invite disaster, as the very words the people used to describe their suffering are turned into titles of disgrace against them [רש״י].
The rebuke is directed at two distinct groups, establishing a clear hierarchy of wickedness. First, the leaders are called out as officers of Sodom, a title reflecting their authority and position at the head of the nation [שד״ל, מצודת ציון]. They are compared to the rulers of Sodom because they actively pervert justice and exploit the poor [רד״ק]. Next, the prophet addresses the general public as the people of Gomorrah, whose widespread misdeeds parallel the sins of that city [רד״ק]. This separation underscores that the corruption of the judges and elites is far more severe than that of the common citizens, just as the evil of Sodom was considered greater than that of Gomorrah [מלבי״ם].
The prophet tailors his approach to each group, demanding a different type of attention from each. The leaders are told to deeply hear the word of God. This implies a profound level of comprehension required to decipher prophecy, which is inherently complex and obscure. In contrast, the commoners are told to simply listen to the teaching of God. This suggests a more straightforward absorption suitable for the general public, as the teaching refers to clear, general moral instruction rather than a specific commandment [שד״ל, מלבי״ם].
The ultimate goal of both the prophetic word and the general teaching is to uproot a deeply distorted mindset. The nation mistakenly believed that the mere physical act of bringing offerings to the altar would appease God and erase their sins, completely bypassing the need for moral repair [אברבנאל, ביאור שטיינזלץ]. The prophet makes it absolutely clear that genuine obedience to God is far more desired than empty rituals. A sacrifice brought without sincere regret, confession, and true repentance holds no value at all, and an offering presented by those who remain wicked is considered an absolute abomination to God [רד״ק, אברבנאל, מלבי״ם].