It was strange to find herself passing his house on such an errand. She seemed suddenly to see her action as he would see it—and the fact of his own connection with it, the fact that, to attain her end, she must trade on his name, and profit by a secret of his past, chilled her blood with shame.
This seems to make it clear that Lily was going to Bertha's to make use of the letters, but it seems her change of heart came about so quickly and radically.