3 out of 7 of the G7 countries have a debt-to-gdp ratio >100% (Japan, Italy and USA).
How do they keep functioning? Well two of them can print the debt away, the other can get their sovereignty freezed by the ECB if things get too wacky.
Essentially, this countries are bankrupt, just no one comes asking for the money. Japan could actually declare bankruptcy twice, lmao.