The opening line of Anna Karenina is powerful because of the way it foreshadows what's ultimately at the heart of the novel's many intertwined plot lines:
All happy families are alike; each unhappy family is unhappy in its own way.
At first glance, it seems like this line first applies strictly to the Oblonsky family, with Stiva's unfaithfulness and Dolly's unhappiness. However, throughout the novel, the reader learns that this line applies to effectively every family in the novel. Every family—the Shcherbatsky family, the Vronsky family, the Oblonsky family, the Karenin family, the Levin family—is unique in culture, size, morals, class, and more. As a result, Tolstoy tells the reader that all of these families are therefore also uniquely unhappy.
The novel's most interesting characters are often the most unhappy ones, as they all have their individual problems—infidelity, religion, loneliness, unrequited love, public love affairs. This opening line therefore foreshadows the unhappiness of all the novel's characters, despite their supposed happiness that others might see from the outside. Through the lens of some women, Anna is living a desirable life of lust and autonomy; however, the reader later learns that not even giving into desires can make someone completely happy, as Anna turns out to be the novel's most miserable character.
When Anna arrives at the Moscow train station, she meets Vronsky for the first time and reunites with her brother Stepan Arkadyich. The three of them witness a watchman getting run over by a train, which foreshadows Anna's death:
Evidently something extraordinary had happened. People who had left the train were running back.
‘What? ... What? ... Where? ... Threw himself! ... run over! ...’ could be heard among those passing by. […]
A watchman, either drunk or too bundled up because of the freezing cold, had not heard a train being shunted and had been run over. […]
Oblonsky and Vronsky had both seen the mangled corpse. Oblonsky was obviously suffering. He winced and seemed ready to cry. ‘Ah, how terrible! Ah, Anna, if you’d seen it! Ah, how terrible!’ he kept saying. […]
Mme Karenina got into the carriage, and Stepan Arkadyich saw with surprise that her lips were trembling and she could hardly keep back her tears. ‘What is it, Anna?’ he asked, when they had driven several hundred yards. ‘A bad omen,’ she said.
Anna points out that this watchman's death is a bad omen, which directly foreshadows her own suicide by train. The watchman's death does not necessarily advance the plot of the novel, indicating that it serves merely as a device for thought—a device that adds tension to the plot and contributes to Anna's characterization. Anna, after all, is visibly shaken by the incident, so it is unsurprising that it stays with her and eventually inspires her own death. This tragedy also demonstrates Anna’s tendency to be influenced by her observations and experiences, creating further justification for her unhappiness later in the novel. Anna's well-being and pride are too easily damaged by the opinions and treatments of others.
Anna's visible fear also exhibits her sensibility and humanity, perhaps making her a more sympathetic individual and allowing the reader to feel sympathy towards her situation.
After Anna and Vronsky have sexual relations for the first time—assumed through the uses of ellipses—Vronsky feels a unique sense of dismay at the immutability of his actions. With a metaphor, the narrative describes Vronsky's perception of the situation:
And he felt what a murderer must feel when he looks at the body he has deprived of life. This body deprived of life was their love, the first period of their love. There was something horrible and loathsome in his recollections of what had been paid for with this terrible price of shame. Shame at her spiritual nakedness weighed on her and communicated itself to him. But, despite all the murderer’s horror before the murdered body, he had to cut this body into pieces and hide it, he had to make use of what the murderer had gained by his murder.
Vronsky describes his feelings as those of a murderer, comparing Anna to a victim. Now that Anna and Vronsky have slept together, their affair is permanently marked. In the 19th century, intercourse was a more serious step in relationships, making them official and unchangeable. In the same way that Vronsky cannot undo a murder, he cannot undo what he has done with Anna. As Vronsky sees it, he has blemished Anna's body, and she will be marked by him forever.
In this moment, it seems that Vronsky already regrets his new relationship with Anna but feels he must make use of her now. Vronsky's regret points to both the dangers that await the couple, as well as the moment where Anna’s body genuinely becomes deprived of life. The metaphor, therefore, foreshadows Anna's death, as Vronsky should be in love, not already thinking about Anna’s body as a corpse. Vronsky may not be Anna's actual murderer, but he certainly contributes to her downfall and eventual suicide.
When Vronsky mishandles his horse during the steeplechase, he falls off, but he doesn't get hurt. However, his horse, Frou-Frou, breaks her back, creating a moment of foreshadowing:
Before him, gasping heavily, lay Frou-Frou, her head turned to him, looking at him with her lovely eye. Still not understanding what had happened, Vronsky pulled the horse by the reins. She again thrashed all over like a fish, creaking the wings of the saddle, freed her front legs, but, unable to lift her hindquarters, immediately staggered and fell on her side again.
The horse had broken her back and they decided to shoot her. Vronsky was unable to answer questions, unable to talk to anyone. […] For the first time in his life he had experienced a heavy misfortune, a misfortune that was irremediable and for which he himself was to blame.
Frou-Frou's fall foreshadows the similar demise of Anna. She, like Frou-Frou, is a prized possession of Vronsky, but she meets her end because of her relationship with him. They are both victims of Vronsky, yet somehow Vronsky does not understand how he can be responsible for either of their deaths.
With Frou-Frou, he shifts in his saddle and becomes too concentrated on winning the race, and this causes Frou-Frou to break her back. With a broken back, she is considered useless and is consequently shot. With Anna, he remains blind to her deteriorating mental state and does nothing to reassure her of his love when doubt consumes her. Without assurance of his devotion, Anna chooses to take her own life with the hope that death will make him love her forever.
Vronsky cannot seem to fathom that his actions have effects on others, and he remains too blind to see the damage he inflicts. His ignorance in this regard plays a part in the demise of Anna and Frou-Frou.