Even though she's his adoptive daughter, I'd like to think that this is his minds way of unconsciously redeeming himself of the time he wasted his time on research rather than to care for his daughter until the very sad end. So him saving up money for her marriage is a sweet yet bitter thing if you remember it right