The Question and Answer section for Great Expectations is a great resource to ask questions, find answers, and discuss the novel.
Since Chapter 8, Pip has been expecting (or rather hoping) to move up in life and become worthy of Estella. When he received his money from his unknown benefactor, Pip automatically assumed that this was Miss Havisham's way of helping him...
Herbert tells Pip about Miss Havisham's love for a swindler.... the man who left her standing at the altar.
Biddy advises Pip that he should marry and have a simple life instead of chasing an illusion of riches. Trying to be a gentleman has brought Pip nothing but regret.