Chapter 13 can be an advantageous way to protect excess home equity that is above your homestead exemption.
Other bankruptcy benefits for your home include protection against other liens—from judgments, income taxes, and homeowner associations.
Bankruptcy can save and protect your home in many different ways. One of these may be just what you need. Or you may use them in combination.
See these bullet points on dealing with your home lender under Chapter 7 and under Chapter 13.