When the homeowner dies before the mortgage loan is fully paid, the lender is still holding its security interest in the property. If someone doesn't pay off the mortgage, the bank can foreclose on the property and sell it in order to recoup its money.