It’s not a good thing for your credit. Often people who are filing bankruptcy already have pretty low credit score, so it’s just a matter of stopping the bleeding so you can rebuild.