This is not true. 2/3 of bankrupt filings in the US are due to medical costs - a number which does not capture the high levels of medical debt carried by people who do not declare bankruptcy.
https://www.ilr.cornell.edu/scheinman-institute/blog/john-au...
https://pmc.ncbi.nlm.nih.gov/articles/PMC6366487/