Classroom instruction is only a very small part of the college experience. At most schools, a full-time class load is 15-18 hours of classroom instruction per week. The students spend far more time out of the classroom than they do in, if you don't prioritize the out-of-classroom experience, someone else will and they will pass you by.
Before the campus housing boom started, a lot of dorm rooms were basically better maintained poverty-level housing. Barely enough room to have two beds, two desks, two chest of drawers, and two small closets with communal bathroom and kitchen facilities that weren't big enough to meet demand.
I commuted to school, glad I never lived on campus at my alma mater. I started college shortly before the big housing boom took hold on college campuses throughout Virginia. I lived in a decidedly low middle class house my entire time growing up and it was pretty luxurious compared to what living on campus was like until they opened the townhouse style housing after my second year. And even then I still had a better bedroom, but not considerably better. And that was only available to seniors and approved special interest groups. And I would later realize when I moved out on my own after college that my bedroom was quite small even by middle class standards.
Maybe kids shouldn't expect to live in luxury, but with as much as college cost even back then, there should have been something better than poverty level housing.
So you know what happened when colleges around the state started building new dorms with much bigger bedrooms and new housing that was townhouse or apartment style? The schools with the new buildings saw an increase in applications and retention. The ones that lagged behind saw a decrease in applications and retention.
It's not a build it and they will come type thing with housing. IT certainly helps, but the housing needs to be a compliment, not a replacement for academic and job placement outcomes. But if the school is going to have inadequate housing, they sure as hell better be a lot better than the competition in other measures.