You borrow as much money as you can for the best school you can get into and afford and then you “flip” that education for the great job you are going to get when you graduate.
Maybe there is a bubble in higher ed but this analogy is pretty shaky. The most obvious difference between a house and a degree is that you can't "flip" a degree.