Work at a F/G (not just “faang” because some companies like Amazon are not picky about pedigree at all) or in “hot” startups and you might disagree. A lot of people come from Ivy League schools and similar schools.
The value has never been about the actual teaching, it’s about the signaling. While many higher “ranked” schools are able to have more difficult courses due to being able to ask more of their students, it’s not so much that which adds value. Really companies just want the traits we associate with having gone to these schools: being well socialized, able to jump through hoops, having connections, a solid education and likely to be generally intelligent.
Of course you can have most of those traits without having ever heard of Dartmouth or Pickelball but the density of those traits coming out of Ivy leagues is high, and it’s reflected in industry (especially in finance, consulting, and academia). Just not so much generic SWE right now since even companies like F/G cannot meet hiring goals by limiting their candidate pool to these schools.