@mimicking
From what I have read, the Greek myth play of Medea goes like this: by exchanging promise of marriage with Jason, Medea helps Jason to complete the impossible quests and get his kingdom, even betraying her father and killed her younger brother in the process. She won Jason’s kingdom, and actually the empress who owns the kingdom, but let him rule instead. However, after having many children with her, years after their marriage, Jason found that it wasn’t enough and betrayed her to marry Glauce. When she threatened to take back the kingdom, Jason was ungratefully challenging Medea to take the kingdom from him.
As an act of revenge, Medea poisoned the fiancé and her father, as well as killed all of her children with Jason. Helio is actually her grandfather, the god of sun, offered Medea help. She then took refugee in Athen and have a son with the king there. However, after a failed attempt to kill the king’s first son in order for her son (with Athen’s king) to become a rightful heir, she fled Athen.
Finally, she returned to her original hometown, where she helped to take back her father throne and reconciled with him. Medea lived there until she became an immortal and live forever in the happiness.
P/s: and for Jason, who has broken his promise with Medea, he was punished to be childless, homeless, wandering from town to town until he died from a failed suicide attempts.
In Greek myth, Medea’s portrayed to be a mixed of villain and victim (who is very intelligent), and the killing of her children is also depicted as Jason’s fault, not hers.