Don’t forget, you only need one to land.
Remember someone is paying you for your time and skill right now! If you can let the rejections go, a hard thing, you’ll end up somewhere that’s a better fit.
I recently changed roles and it took a handful of onsites to catch my stride - more than six for sure! I only ended up with two offers but they were from my top two companies.
If you’d like feedback you’re welcome to reach out (username at gmail) and I’d also suggest doing a phone screen with Triplebyte, I was really surprised by how much constructive feedback they gave although that didn’t lead to my next job.