hey, i completely can feel what u went through. u know ups and downs are part of life. just remember these 2 quotes:
- whatever wont kill u will make u stronger.
- if u lose, donot lose the lesson
i think its normal that confidence is low when u r not in consistent jobs. confidence would be good again once u get the job of ur choice. one thing i would suggest u to do certifications or do on your own. do CCNA or CCNP if u r looking towards cisco side. getting certification will also boost ur confidence and would also look good on resume.
Certifications and education counts but you cant know it all. I think its not what you know, but if u know where to look for.