I was an arrogant superstar before I went to MIT. It wasn't that I thought that I was worth more than other students, but I felt my classes were a bit below me. I got all As, except for a B or B+ in my Intro to World Politics class at the UofM. As I remember, the way honors GPAs were calculated, I my GPA was above 4.0 at the UofM. In my high school "Enriched Chemistry" class (one level above honors, no extra GPA boost beyond, but all the kids there really wanted to learn), after I caught a couple of mistakes in exams, the teacher started marking my Scan-Tron answer sheets as the exam answer key, and in class, the whole class would together grade my exams the day after the exam to make sure the answer key was correct. There was one exam where the second-highest score was 90/100, so the teacher just added 10 points to everyone's score. At some point, I made one mistake the whole semester, so I ended the semester 9 points above 100%. At the UofM in my honors mathematics course, I was being graded on attendance and felt it was a bit of a waste of my time. I would read a newspaper in class. One day, the TA asked a couple times if anyone knew the answer to a problem, and I made a bit of a show of folding up my newspaper and proceeding to answer the question nobody else could answer. The honors math professor took me out into the hallway and proceeded to tell me "I don't care who you are. I don't care what kind of grades you get. If you bring a newspaper to class one more time, I'll have you thrown out of the program."
MIT was another level of challenges and expectations. Most of the kids there were used to being at the top of their class and getting cut a bit of slack from the teachers/administration because they were head-and-shoulders above their peers in high school. For most of us, it was a big ego hit and a big adjustment having to work very hard just to get a median grade.
The instruction at MIT was top-notch, but the real value was increased expectations, and excellent peers for both competition and support.
On the flip side, the ego hit is soul-crushing for some students.
The honors programs of state schools definitely have students every bit as smart and capable as people at MIT. The extra level of competition and expectations at MIT really does help some people shine, though. Also, the name is helpful as there's a pretty high minimum bar for getting an MIT degree. You might not be getting the best by hiring the MIT grad, but you're hiring someone who's pretty good.
That being said, I hope the age of GitHub, HackerRank, etc. diminishes the effects of brand-name schooling. I had a friend back in my honors math classes who also got into MIT, but couldn't justify the expense due to his dad being a welder and his mom a homemaker. MIT offered him a lot of loans and grants, but he got a full scholarship at the UofM honors program and could live at home while going to school.