Going bankrupt isn’t just some chill thing, your credit score will get completely destroyed. Some people will definitely continue to pay.
If you own a home you can exclude it from the bankruptcy. You can also include it and continue to pay the payments and the contract must be honored!