I really strongly disagree with this. Good learning is inherently pleasurable[1] and if it isn't then there's something wrong. If a subject doesn't feel like it has enough purpose, it's not worth taking. Your brain is a fairly good predictor of that, contrary to what school would lead you to believe.
I think overall you'd be way better off just learning the things that you want to learn, that are applicable to something you actually care about instead of taking a class and learning things your brain tells you are useless and you will probably never use. I haven't read it in depth but I think ultralearning is interesting for the learning-for-application approach.
I'm probably a bit biased though because I use incremental reading[2] and no matter how good university teaching is it just can't compare to learning by myself (with occasional help from an expert, rather than being handheld)
[1] https://supermemo.guru/wiki/Pleasure_of_learning [2] https://supermemo.guru/wiki/Incremental_reading