I agree fully with what is said here. No, it's not wrong to advise prospective students about the job market and what to expect (or not) on the other end. However, let people make their own decisions to attend or not -- as you did.
I'd like to highlight, also, that there are other options, such as funded MA programs, as a first step and possible stopping place if you then decide not to go for a PhD, not covered here, which provide a middle ground. I'd also emphasize that UCs actually have very competitive funding packages (including for certain terminal MAs) and graduate students are unionized. That criticism struck me as fairly typical-- someone who has gone to an Ivy critiquing one of the few top public universities, which put these degrees within reach for many of us, in a way that is unfair and un-evidenced.