In George Bernard Shaw's play Pygmalion, Eliza Doolittle actually does not marry anyone within the action of the play itself. Eliza has been transformed from a lowly flower seller with a vulgar manner of speech and no refinement to an upper-class lady of refined speech and manners by Professor Henry Higgins. Higgins has done this as an experiment and as a bet with Colonel Pickering, but he hasn't counted on the force he has created in Eliza.
Eliza is now an attractive, well-bred woman whom Higgins describes as a “tower of strength.” Even though Higgins admires Eliza, he takes her for granted. Eliza feels that Higgins is too cold emotionally, yet the audience gets the feeling that she would very much like to marry him. He suggests that she marry Colonel Pickering, and Eliza insists that she could never marry Higgins. Her slip of the tongue reveals her feelings.
Higgins, too, seems taken with Eliza although he refuses to admit it. Eliza says that Freddy Eynsford Hill has declared his love for her, and Higgins becomes extremely jealous, saying that Freddy is a fool and declaring, “I'm not going to have my masterpiece thrown away on Freddy.”
Yet Eliza and Higgins never come to an agreement. Higgins ends the argument by giving Eliza a list of errands. He tells his mother that she will certainly do them, but the play ends. In the “sequel” or epilogue, however, the narrator informs us that Eliza declares that she will marry Freddy if she is to marry anyone. She does exactly that and ends up with her own flower shop.