I worked in Mortgage Debt Recovery for 2 major banks, for decades. At one time, I was the Executive Assistant to the guy at the very top. Every single eviction had to get his signature, and he would read the file well. It was never an easy decision.
Before any eviction the Bank would try repeatedly to restructure the mortgage, so that the customer could keep their home. So, for example, we would phone them and offer to extend their term by (say) 10 years (age allowing), which would bring their monthly payments down. Thousands of customers would not engage in our attempts to save them, when the situation was indeed salvageable. A real head in the sand mentality. It left us with no option but to evict. In many cases, we had been trying to engage for over 2 years with the customer, and for all that time they had been living in the property, without making any mortgage payments. This was partly the Banks fault though, because the staff making the calls to the customers, were judged solely on how many calls they could make in a day, regardless of whether the file was moved along the track to the next step in the process.
Many people had taken out Endowment Mortgages, with the full expectation that their Endowment Policy would repay the capital, at the end of the term, but due to the endowment not performing as predicted, there was nowhere near enough to repay the capital - a lot of these people were 65+, so we could not offer them any other mortgage, and they were evicted. Very sad, as they had presumed that the endowment would pay off their mortgage and give them a tidy lump sum to retire with. But instead, in their dotage, they were turfed out of the home they had lived in since they were in their 20's.
One thing that I didn't agree with, was how the properties were sold after an eviction. As long as the Bank got back enough to repay the debt, they were happy, and consequently always went for quick cheap sales, below the properties real value. I know business is business, but that felt heartless to me. We could have sold at market value, and handed the excess back to the evictee, but no one seemed to ever think about that.