> Nowadays you can learn nearly anything for free with just an internet connection and some dedication
It's no different from the situation before the internet, since books are cheap (compared to your time) and usually are still a better source of information on such structured subjects anyway.
In fact, when I was in college, I mostly read textbooks anyway instead of attending lectures (it's easier for me to learn this way).
This however is not the whole story. Even if you are motivated ("I'd like to learn math"), you are probably not motivated enough for some feats of cognition. If you know people who stayed home and studied math on their own for a few years, full-time, at college level (I don't), they are probably very rare.