The Lord commanded a group of soldiers to attack these cities and to terrorize and plunder them. These invaders would stone the guilty (the punishment for adulterers and murderers in the Mosaic Law), slay them and their children with their swords, and burn their houses. Thus the Lord would cause such shameful unfaithfulness to cease from His land (cf. Ezekiel 22:15), and He would teach other nations not to do as these two "women" had done. Samaria and Jerusalem would bear their punishment for practicing idolatry, and they would learn that Yahweh is God. [source][source][source]
"While most parables and messages concerning sin in the Old Testament seek to produce repentance, that is not so here. The message closed with a note of finality." [1][source]