It is ironic that Pip obtains the devastating news that Estella will marry Bentley Drummle as he visits Miss Havisham at Satis House because he has come to this house because he has just received even more devastating news. In Chapter XLIV of Great Expectaions, Pip arrives and tells Miss Havisham that he is "...as unhappy as you have ever meant me to be." Then, after declaring before Miss Havisham the love he has for Estella, he learns that she is betrothed to Bentley Drummle, Pip's deadly rival for Estella's attentions.
Upon hearing this news, in his love, Pip begs Estella not to let Miss Havisham lead her into this fatal step, but Estella in another brutal remark maintains that the decision to marry Drummle is hers as she is weary of the life that she has been living, which hold no charms for her. Estella claims that life has few charms for you and that she and Pip will never understand each other. In despair, Pip tells Estella she has become all that life is to him:
You have been the embodiment of every graceful fancy that my mind has ever become acquainted with.
I think that you are asking about something that happens in Chapter 44. In that chapter, Pip is told that Estella is going to marry someone else. Worse yet, she is going to marry Bentley Drummle, who Pip hates.
Pip has gone to Satis House to talk to Miss Havisham. He is angry at her because she had let him think for all this time that she was the one who was behind him becoming a gentleman. Now that he knows that it was actually Magwitch who was his benefactor, he does not like how Miss Havisham misled him.
While he is there, Estella tells him that she will be marrying Drummle.