Horror movies, particularly slasher movies, often contain a strange paradox. They depict women as two-dimensional victims, often punished for their autonomy and enjoyment of sex. Yet, they often end with a female survivor triumphing against the monster. Author Carol J. Clover discussed the trend in her book Men, Women, and Chainsaws: Gender in the Modern Horror Film, and coined the term "final girl" to describe it.
Source:https://www.cbr.com/the-final-girl-trope-explained/