Doing a liberal arts major as an undergrad may give you more flexibility in future career and educational choices. But less short term certainty.
Doing a career specific major gives you more certainty if you are really sure about what you want to do. Many students change over those 4 years.
Personally I am in favor of a longer term view for many students, with a more generalist liberal arts education. But in these days of high tuition and loans, and if you are sure of what you want to do and think it wonāt change, it also makes sense to consider the narrower vocational career focus.
In other words, it depends!
The idea used to be, in the long run, majoring in history, say, then doing MBA for business- as an example- meant making a better living in the long run than majoring in business as an undergrad. I donāt know if that is true anymore.