The bank also has rights on the property after it goes into default. They don't lose all their money.