Better` is quite subjective & varies from situation to situation. People can be better or worse in a lot of attributes when compared to one another.
Being depressed won't help. You really really need to figure out why you're not being selected. Are you asking for too much salary? Applying to the wrong roles? How does your resume look? Have you got some feedback from the interviews that you can work on?
Since your not employed - how do you spend your free time? I would advice working on some side project, open source project, working on your people &communication skills would be good use of the free time.
This ex google guy on youtube talks a lot about software development, engineering, interviews etc. I have found the content quite helpful - https://www.youtube.com/channel/UC4xKdmAXFh4ACyhpiQ_3qBw