I don't think taking a loan is bad because if you see most of the big industries or businesses take loans to grow them in the initial stage.
But in terms of your friend, he has taken loan only to fulfill his personal wishes and desires which actually has no good side or out come. In this case, the purpose of taking a loan wasn't good at it all, then how I will tell you what could be better to take a loan or sell his property. I think there is no need to take a loan if there are all these reasons.
However, emergency situations can be of many types, such as people's physical diseases, I have seen many people selling their properties due to this. In this case, I will take it as the main reason for selling their property, maybe they did not have the ability to repay the loan amount, so maybe they sold it, so I would also say their decision is right. But if such an emergency situation comes to me and I have the ability to repay the loan then I will not sell my property.