My state (Indiana) has a constitutional clause that prohibits borrowing except in the case of an unexpected shortfall in revenue or war. This means the state may not pass a deficit budget except in time of war. It had worked out well for the state.
I believe most states have a balanced budget requirement and can’t borrow money for their operations, like the federal government can. CA, for example, has a rainy day fund that they use to even out the revenue fluctuations.