Now the answer to this depends on which country you live in. Both UK and US law are different on almost all aspects. But in most cases regardless of where you are there is an equity exempt clause which means that if that in your home the equity is valued above and over the sum of the secured and unavoidable debts on it plus the exemption under the applicable law plus the cost of selling the house, the trustee will not sell your home from underneath you to pay your creditors. There is more to this law but further reading on the specific section will be required, but in most cases if there is equity and you can keep making payments then the answer is no.
Bankruptcy law can be complicated so the best thing to do always in any case is consult a fully qualified solicitor/lawyer. They can fully help you to understand the implications of going bankrupt and how by going bankrupt will impact everything in your life. This is something that most people do not understand; bankruptcy affects every aspect of your life as it stops you from doing and owning a wide range of things.
Bankruptcy law can be complicated so the best thing to do always in any case is consult a fully qualified solicitor/lawyer. They can fully help you to understand the implications of going bankrupt and how by going bankrupt will impact everything in your life. This is something that most people do not understand; bankruptcy affects every aspect of your life as it stops you from doing and owning a wide range of things.