Is a prestigious undergraduate degree worth it?

I think with Law, Medicine, Business and Phd the graduate degree is far more important. I’m not sure how much anyone respects anyone’s MA tbh and I say this as someone who has one.