Arrived early at an interview to hear they already want to hire the person before me.

So I just had an interview through Microsoft teams earlier today and as required by the instructions I entered the chat 10mins early. I said hello when I could hear the main panelest speak but they couldn't hear me. They were talking to an HR person about wanting to hire an earlier interviewee and wanted to start the process now. When the HR person asked the main panelest why they were interviewing me the main panelest said it was because of my experience and that I wasn't a good fit for the team. I was shocked and a bit broken hearted as I was unsure whether I was a right fit but applied and got the interview which gave me hope. So hearing this before the interview dashed my hopes, I wrote that I could hear them in the chat since they couldn't hear me. But they continued to talk until it was time to talk and they realised they hadn't been on mute initially and then read in the chat that I could hear them.

The main panelest apologised that I had to hear all that. I said it was OK and I hope they find the best person for the job/interviewee.

I still did the interview because I was there and nothing is final till the job is offered. I definetly blew them away with my knowledege and experience, but I also feel saddened because it was all for nothing.

Update: Thanks everyone for your words of support and advice! It's a range of emotions and stories, thoughts and ideas, but I can see the main encouragement of believing in yourself and doing what's right by your own standards and goals. Y'all really cheered me up :)