Abraham and Sarah's relationship is, to some extent, one of equals. When she has something to say to her husband, she says it directly. The Torah describes two occasions on which Abraham obeys his wife (it does not tell us of other occasions). The first time, it simply says that he obeyed; the second time, G-d's voice intervened. (Both situations were extremely difficult for Abraham.) Let us explain why.
Judaism has such concepts as the Covenant of the Patriarchs, the Covenant of the Matriarchs, and the Covenant of the Tribes. The Covenant of the Patriarchs seeks to guide the entire world toward goodness. The Covenant of the Matriarchs preserves the good that already exists, so that it does not become corrupted. (We will not discuss the Covenant of the Tribes now, since it is unrelated to our topic.)
Sarah is focused on keeping goodness from becoming corrupted. When she sees Ishmael, the son of Abraham and Hagar, mocking, she tells her husband, “Drive him out!”
What was the big deal, one might think? A teenager joking around, having fun—so what…
Answering this question is not as easy as it may seem.
When does a person laugh? When something has happened so suddenly that he cannot take it in. Or what has happened is so immense that he cannot comprehend it… In such cases, the response is either tears or laughter, and these emotions cannot be held inside; they burst out.
Laughter is expressed in Tanakh using one of two grammatical forms—the “light” form and the “heavy” form. The light form corresponds to joy. The heavy form corresponds to mockery. Wherever we encounter the heavy form of laughter in Tanakh, it concerns the three gravest sins—idolatry, incest, and sexual immorality. These things are so astonishing, so far beyond people's comprehension, that they provoke laughter, or more precisely, mockery. (“Lesser” sins do not astonish: theft is unlikely to strike anyone as funny, nor, for example, lying or speaking ill of others…)
We have a tradition that Ishmael mocked Sarah, saying that she had conceived Isaac by Abimelech. His jokes did not end there. He went further, building altars to idols and sacrificing cockroaches on them. “How can you build altars to idols in Abraham's house?!” those around him would ask. But he would laugh in reply and say that they were only cockroaches, and that this was his way of mocking the idols! He had another favorite way of amusing himself: he would put an apple on four-year-old Isaac's head and take aim at it. Imagine how Sarah felt, having given birth to her child at the age of 90!
“Drive Ishmael out!” she tells her husband. For Abraham, this is almost impossible. He has spent his entire life bringing people closer to the Almighty—those near and far, his own people and strangers! And now his wife is demanding that he drive out his own child! But he obeys. By expelling Ishmael from the house, Sarah saves them both: Isaac and Ishmael himself.
A person is made in such a way that he never sees himself as bad. Never in his life! “I'm good; people have simply misunderstood me!” Ishmael sincerely believes he is doing nothing wrong. So what if he made a joke once, or twice... But when Sarah tells him that these are no jokes and that behaving this way is disgusting—so much so that he must leave the family—she makes him stop and think, and understand that it really is unacceptable.
According to tradition, some time later he returns to Abraham's home a reformed man! Ishmael's expulsion is also a great blessing for Isaac. Thanks to Sarah's decision, Isaac can remain with his parents. Otherwise, he would have had to leave. Because when evil is not punished, goodness is automatically punished.
(A similar situation will arise in the next generation—Rebecca will not drive Esau out; Jacob will be forced to leave.)