Companies argue that allowing bankruptcy judges to modify mortgages for primary residences ultimately would hurt consumers because lenders would have to raise loan costs to compensate for the increased risk that some principal might be forgiven .