That's what education in a research university is like, when you actually take advantage of it. You don't have to focus on whatever seems useful and practical in the short term, you don't have to compete against your peers, and you don't have to overwork yourself. Instead, you have a socially acceptable opportunity to study whatever interests you, and you hopefully gain the attitude that you can learn whatever you need to learn.