Usually the schmoozers don't take such an aggressive route right from the start, but I can see it working on a certain type of company.
In the rare chance that "Adam" was, in fact, as good as he said he was, you still dodged a bullet because nobody wants to work with a brilliant, arrogant jerk, no matter how good he is. Someone could have the demonstrated programming skills of Linus Torvalds and John Carmack put together, but if he acts and talks like "Adam" I'm not going to hire him.
They dodged a bullet alright, because "Adam" isn't a scammer. He is just incredibly and utterly toxic, and would be extremely damaging to everybody he would be working with and/or for.
Luckily I didn't work with him very much. He was a technical consultant for a customer of ours. He was brought in to hold us to account so he wasn't going to be fun to work with even without the ego...
You didn't do anything wrong. Odds are that "Adam" was a scammer. Perhaps he doesn't know how to code at all and was looking for a job that would hire based on his resume, let him cruise for 2 weeks while "onboarding," let him flail around for 4 weeks, be put on a PIP for 2 more, then fired with severance after getting 8 free weeks of bay-area pay.
Or perhaps he does know how to code but was looking for a second job (to do the exact same thing I mentioned above).
You didn't do anything wrong. You just dodged a bullet.