This was us last week. My partner was final final FINAL round after an email round, two in persons, and a programming test for a newly-created role at a really interesting startup. I mean it couldn't have been a better fit - he uses the app, its mapping and hes GIS focused with degrees, background in the language and knowledge of new cities they are starting, but isn't a pure developer, which this role wouldn't have been. He had even worked with similar data sets and requirements previously. Was asked about salary requirements etc. I mean, slam dunk, right?
Nope. They decided to pull the role because they just couldn't figure out how it would fit in, even though they had a candidate (him) open to a short term contract who wasn't coming from a prior company where it would be a big risk.
This was his third final round rejection this year and came after having one of the most shockingly bad interview experiences I have ever heard of at another company before this one. To top it off, his laptop broke down and our friend's unused desktop he had recommissioned to use ALSO blew up the day after so he had no job offer and no way to keep job searching. Our living situation remains bizarre as we are still at my friend's place sleeping on her floor, and between her annoying pets, poor sleep, noise from the loud road outside, and job stress, lets just say our mental state wasn't the best by that point.
We threw in the towel and booked cheap flights to his parents in Sweden for the month of October, and they bought him a new laptop for early Christmas. After three days here and sleeping in a proper bed, with our (well trained) kitties, we already feel 1000% better. Tomorrow we start the search anew.
I swear, getting a job rejection just amplifies or attracts other crappy things to happen. Good luck to keep moving forward!