There are people who enjoy learning for learning's sake.
Even if my own job gets replaced, and I can no longer find employment, I will keep learning new Math, new programming languages, and other things. (Seems unlikely now, but definitely not impossible)
But I have seen that people like me are rare.
Most students learn with an earthly, material goal in mind. And you can't blame them.