Here's what you do:
1. Quit doomscrolling. Quit all social media. It's like anti-therapy where it just makes everything worse. Timebox your job-hunting every day, there's diminishing marginal returns on time spent here.
2. Your instincts are good! Volunteering and side projects are great. I did a ton of side projects and freelance work. This means you'll be able to account for your time unemployed and gives you something cool to show in interviews. I had a nice little portfolio to run with.
3. Go outside. Read a book in a park. Clear your head. Shit like "the longer I go without work, the worse it gets in the eyes of employers" isn't useful. You will solve that by having a good story to tell via #2, and everyone knows this is a terrible market.
4. Apply to weird stuff involving technology but not "in tech." IT for schools, web stuff for nonprofits, museums, tiny businesses that can't afford market rate. A lot of these are really fun.
I can tell you from 2008-2011, this era passed. Even my most desperate, lost-seeming friends, some of which had prestigious degrees etc etc, found something to do. Many of them wound up quite well off in the end. The hard part isn't even interviewing, its keeping yourself sane in the meantime.