It’s Only Seven Years
Bankruptcy doesn’t stay on your credit forever. Yes, your score will take a huge hit; but, after two or three years, it can steadily increase. Further, after seven years, it is completely removed from your credit history and score.
Although it will plague you for some time and limit your options to buy and borrow, it isn’t forever. You will eventually have this cloud lifted from over your head, if you are trying to rebuild your credit, and want to make major purchases in the future.