The concept of the university is that you're supposed to learn a little bit about a lot of stuff. A significant amount of courses are a "waste" if you only want to consider things directly relevant to a specific career. This is changing a little because people have higher expectations for vocational training from schools these days (because the bar is higher for basic specialized work than it was in decades and centuries past), but the basic idea remains.