Isn't it better they are honest rather than set unrealistic expectations that students will regret years later.
Edit: I should say that my professors came off more as defeatist than dismissive. I was never told that I couldn't study Philosophy at the graduate level.
These people are disillusioned and so will the future you be, but your present you has to make the decision. It's incredibly valuable that they're being honest to you and to themselves.