Don't feel bad if you do. I was once told "If you're in a position to THINK about Bankruptcy, then if you DO, you've already improved your credit/situation."
Credit is based on "ability to pay". if you improve your situation in a few yesrs, your credit will be fine.
Right now your priority...