I have been through the same phase where i gave tons of interviews and never heard back. Have been unemployed for 7 months and have had moments where i thought i would never get hired again.
However, i had to fight these negative thoughts by focusing on other aspects of life such as spending time with family, fitness, being in touch with my friends who helped me keep my morale up. Finally, i made it through and got 2 offers (after being rejected by 12 companies)
I would say that things happen for a reason. Just don’t give up and trust me times do change. Use this time to pursue your hobbies, polish your skill sets, learn from your interviews to avoid the mistakes at your next one. Don’t let your job define you.