SVB was not really in bad shape. What happened was a bit of an anomaly. They invested some of their assists in ultra safe bonds, which isn't a stupid or risky thing to do per se. The problem they ran into was that they bought bonds with a 4% yield and with a longer than average maturity timeline. Then there was a run on depositor funds. In most cases they would have been able to sell their bonds and make those payouts. However, bond rates have come up about 3X what they were so no one wants a long-term bond with a 4% yield when they could just buy brand new bonds with an 11% yield on shorter maturity timelines, so SVB had no liquidity on their bond holdings.
We are not at significant risk of a general bank failure situation like in 2008.
Also, because SVB actually has assets that can cover their deposits, just not ones they can liquidate, for the government to step in, make all depositors whole immediately and then collect on the bonds when they mature they will not need taxpayer money to fix this.
Keep in mind that the auto-industry bailouts ultimately brought in more money then they sent out. I'm not talking about indirectly by allowing people to keep their jobs and keep paying income tax, and for the businesses to keep the doors open and them paying taxes, but those bailouts were loans and they got paid back with interest.
It is possible for the government to help protect the overall economy without just handing a bill to the middle class.