The filing of a bankruptcy creates an automatic stay which would prevent the foreclosure sale taking place. A notice of the bankruptcy should be provided to the state court clerk to stop the foreclosure sale.
What you need to do is speak with a bankruptcy attorney in your area. The mortgage company telling you to file a chapter 13 is not actual legal advice, and you need your own adviser on bankruptcy.
Consumers can use this platform to pose legal questions to real lawyers and receive free insights.
Participating legal professionals get the opportunity to speak directly with people who may need their services, as well as enhance their standing in the Lawyers.com community.