You're not a loser, you have 8 years of development experience across multiple companies. Nailing the technical interview does not guarantee you get the job. As you mentioned, luck does play a factor and being hard on yourself for not passing an interview is time better spent preparing for the next one.

Thank you for your support, but sometimes I think that working and pass interviews absolutely orthogonal skills