Keep applying fir this interviews. Each interview failure will make you get out your books and hone your craft. After 6 interview failures you will be learning more than what you learnt the whole previous year.
Just saying, your on the right track as long as you keep interviewing.
Sounds strange, but thinking about it -- it did work for me. I got motivation when I failed an interview a few years back (I hadn't understood what was really needed).
Otherwise, I am in the same situation as the grandparent comment, I've certainly lost more than I've learned at the present job. (But my CV looks better for what I planned to apply for next, which is the point.)
Just saying, your on the right track as long as you keep interviewing.