Often, as with Austen's Elizabeth Bennet or Trollope's Alice Vavasor, they make themselves positively miserable trying to escape the worthy men who will make them happy.
Pip assumes, and Havisham allows him to believe, that she is his benefactress and that he is being elevated to a position that will make him worthy of Estella.