If you contributed 30% of your income to just paying toward the debt, it would take you 7 - 10 years to pay it off. If you went out and got a second job and put every penny of take-home toward the debt, you could probably have the debt entirely paid in 4 years. And showing that kind of effort would rebuild your damaged credit quickly. Bankruptcy will destroy your credit and tale longer to rebuild.
Bankruptcy is the easier way out, definitely, but not always the better way.
How did you get do deeply in the hole? What were you buying on credit cards? Do you have anything you can sell to reduce the debt? Or was it mostly expenses related to living beyond your means? Vacations, entertainment, buying lunches and dinners instead of learning to shop wisely and make meals at home and food to bring to work? And frivolous impulse purchases. And putting it all on credit.
That becomes a habit, and that's something bankruptcy can't fix. Until you get out of the habit of spending money you don't have, you'll be right back in the same boat, you'll be back in debt, only it will be worse. You may be able to get a credit card or two but the interest rates will be astronomical and if you get in the hole, you can't file for bankruptcy for at least seven more years.
In my opinion, it is better for you as a person and for your long-term finances to start living an austere lifestyle, cut out everything but what you absolutely need, and start working a second job or even three jobs, and dig yourself out of the hole in much less time. You will learn a lot about yourself, and when you come out of it, get back to even, you can start amassing some savings.