Hecuba: Alas! Alas! Alas! Ilion is ablaze; the fire consumes the citadel, the roofs of our city, the tops of the walls!
Chorus: Like smoke blown to heaven on the wings of the wind, our country, our conquered country, perishes. Its palaces are overrun by the fierce flames and the murderous spear.

Hecuba: O land that reared my children!
Euripides's play follows the fates of the women of Troy after their city has been sacked, their husbands killed, and as their remaining families are about to be taken away as slaves. However, it begins first with the gods Athena and Poseidon discussing ways to punish the Greek armies because they condoned that Ajax the Lesser raped Cassandra, the eldest daughter of King Priam and Queen Hecuba, after dragging her from a statue of Athena. What follows shows how much the Trojan women have suffered as their grief is compounded when the Greeks dole out additional deaths and divide their shares of women.
The Greek herald Talthybius arrives to tell the dethroned queen Hecuba what will befall her and her children. Hecuba will be taken away with the Greek general Odysseus, and Cassandra is destined to become the conquering general Agamemnon's concubine.
Cassandra, who can see the future, is morbidly delighted by this news: she sees that when they arrive in Argos, her new master's embittered wife Clytemnestra will kill both her and her new master. However, Cassandra is also cursed so that her visions of the future are never believed, and she is carried off.
The widowed princess Andromache arrives and Hecuba learns from her that her youngest daughter, Polyxena, has been killed as a sacrifice at the tomb of the Greek warrior Achilles.
Andromache's lot is to be the concubine of Achilles' son Neoptolemus, and more horrible news for the royal family is yet to come: Talthybius reluctantly informs her that her baby son, Astyanax, has been condemned to die. The Greek leaders are afraid that the boy will grow up to avenge his father Hector, and rather than take this chance, they plan to throw him off from the battlements of Troy to his death.
Helen, though not one of the Trojan women, is supposed to suffer greatly as well: Menelaus arrives to take her back to Greece with him where a death sentence awaits her. Helen begs and tries to seduce her husband into sparing her life. Menelaus remains resolved to kill her, but the audience watching the play knows that he will let her live and take her back. At the end of the play it is revealed that she is still alive; moreover, the audience knows from Telemachus' visit of Sparta in Homer's Odyssey that Menelaus continued to live with Helen as his wife after the Trojan War.
In the end, Talthybius returns, carrying with him the body of little Astyanax on Hector's shield. Andromache's wish had been to bury her child herself, performing the proper rituals according to Trojan ways, but her ship had already departed. Talthybius gives the corpse to Hecuba, who prepares the body of her grandson for burial before they are finally taken off with Odysseus.
Throughout the play, many of the Trojan women lament the loss of the land that reared them. Hecuba in particular lets it be known that Troy had been her home for her entire life, only to see herself as an old grandmother watching the burning of Troy, the death of her husband, her children, and her grandchildren before she will be taken as a slave to Odysseus.

Question: Why do Poseidon and Athena want to punish the Greek armies?
Answer: Because they allowed Ajax the Lesser to rape Cassandra.