What's the meaning of "program"?
In this context, it is referring to the particular department or school, that is to say, "don't go to graduate school unless you get into a good university, or rather a good department." Don't go to graduate school for the sake of going to graduate school - make sure you're going somewhere which does good research, where faculty members publish frequently, has a history of graduates doing well for themselves, etc.