What bankruptcy? That's the most preposterous thing I've ever heard. California has a massive budget surplus, despite going through a pandemic.
There's such a massive surplus that it is overflowing the rainy day fund. And due to spending limits set back in 1979, a bunch is being refunded:
https://www.kqed.org/news/11872910/flush-with-cash-californi...
You should think back to whatever source told you such a silly thing and remember to never believe them.