In the US, almost every of the 50 states must balance their budgets. They can't spend what they don't have without selling debt (municipal bonds that pay interest). They can't manufacture money as that is handled at the Federal level.
https://www.ncsl.org/research/fiscal-policy/state-balanced-b...