All's Well That Ends Well has a reputation for being one of Shakespeare's most sexually charged dramas. In the play, female sexuality is under constant scrutiny; the question of when and how a woman should lose her virginity becomes a topic of debate for just about every character.
Throughout the play, sex and warfare are linked in some bizarre and troubling ways, connecting the play's treatment of sex to the theme of "Gender." Like Shakespeare's Measure for Measure, All's Well That Ends Well also features a notorious bed trick, during which a cheating husband is taught the ultimate lesson when he's duped into sleeping with his own wife.
The play suggests that Helen's bed trick is completely justifiable because she's married to Bertram, whose lawful duty as a husband is to please his wife.
If Bertram were a woman who was tricked into sleeping with a man she hated, audiences would be outraged.