Germany put it recently into their constitution that new debt is strictly limited, literally called the "debt brake". That overlooks all the nuances you just explained and in the worst case can cripple the German economy. German politics is full of folks demanding the "black zero", meaning essentially no (new) state debt. It's the literal sense, not the metaphorical sense that you are describing. And people buy it, since that's how their household economy works too. They even have a metaphor for that ("schwäbische hausfrau").
It's terrible. The debt brake is just as bad for their economy as the "rent lid" that's very popular among the German left which is crippling their housing sector.