I am not sure what universe you live in but in reality during the 4 years you are in college a lot can happen that is out of your control such as a major financial crisis, global pandemic. You know the type of things that affect different fields in unexpected ways so to put your starting salary back from where it should be when you researched it.
Although I don't doubt your scenario exist it's not the majority.