This question is very simple, yet infinitely complicated, and where the law is grey a bankruptcy judge or jury will decide if any of your debts will survive a bankruptcy filing. It is 11 U.S.C. § 523 (see https://kainscott.com/us-bankruptcy-code/chapter-v/ss-ii/code-523) which states which debts will be excepted from discharge, but unfortunately there is a lot of misinformation out there on the internet about what debts you may get rid of (ie discharge) in a bankruptcy filing. The term is called “excepted” because the default rule is everything gets discharged unless there is an exception.

How do I know if I can file bankruptcy on certain debts and judgments?
This question is very simple, yet infinitely complicated, and where the law is grey a bankruptcy...