Almost every person I went to college with had this viewpoint. There's also something comforting knowing you and your friends are all doing the same thing. We all were dirt poor in college trying to support ourselves with crappy part-time jobs working delivering pizza, working in fast food joints, cleaning offices at night. The idea was we all believed we were working towards something better than our current situation. The suffering some how made you a better person, more resilient, made you understand what it was like to really earn something.
All of my close friends I had in college all went on to do successful things. Engineers, attorneys, stock brokers, software engineers, pharmacists. We all eventually got to where we wanted to be, but the suffering is what still binds us together to this day. Talking about some of the houses we lived in that should've been condemned. Having to work 60 hours a week, and still do well on that exam on Friday.
The willingness to suffer is eased when you have a shared experience with others around you.