Then you think, oh well I can find some sort of job, right? Even if it's a service job. Wrong. They won't hire you with your resume. I applied to Trader Joes and was ghosted. The only people who'll 'hire' me are day labor places that pay $13/hour for digging ditches - you just have to show up at 4:45am and hope you get called on. Then there is also substitute teaching, $109/day and you have to shell out the $85 for a background check on yourself to even get started.
Long before all this starts you cancel everything that can be cancelled. You might keep internet thinking it is necessary to find work and work remotely, but eventually that goes. You even let your car insurance expire, playing the odds. You sell everything you can. You keep looking. You go through periods of terror and sanguine acceptance. No-one really knows what you're going through - the people you do tell don't know how to process it, or what it really means, and some of them get offended that you'd burden them with this when more important things are happening in the world, like Gaza or Trump.
There is something perverse about starving in the middle of such wealth. When you have always been one of the smartest people in the room, you have a ton of real-world software engineering experience and have built real systems that service millions of people, and you are discarded like you are nothing for apparently no reason. You wonder if it's you, but you hear growing rumbles of it happening to others. Honestly, I hope its just me because if this happens to us in any great numbers you WILL start knowing people who couldn't get back on their feet. I find it easy to imagine the two kinds of reactions: he must have had some problem to not get a job, or if only he had reached out I could have helped! Both useless, both avoid responsibility for your "friend" in need.