In most cases, any debts you have accumulated while in good standing with your creditors cannot be erased when you file for bankruptcy. This means that your credit score will likely take a hit and it may be difficult to get approved for future loans or mortgages.