In the year 2020, 544,463 people filed bankruptcy in the United States. That number may seem enormous, but in reality, Bankruptcy filings in 2020 were the lowest they have been in thirty-five years. This may seem counterintuitive for the type of year 2020 was, but it makes sense when you think more about the government assistance that a lot of people received last year.
So good news, filing bankruptcy will not affect immigration status, green card or the ability to apply for US Citizenship. The only way it could possibly affect these processes, is if it is found later that you had lied in your bankruptcy case under oath, or left out information in the bankruptcy petition,