In fact, the so-called "use" of a lot of knowledge, just like mathematics, is a kind of "useless use" and one of the necessary knowledge systems for a person with a sound way of thinking. Because of mathematics, physics, chemistry, and a lot of knowledge that you can't use in your later life and study, your knowledge system is complete, your way of thinking has been trained, and your understanding of the world is becoming more and more real!
Don't think that mathematics has nothing to do with beauty, nor that physics has nothing to do with philosophy: mathematics embodies the most perfect symmetry and balance. At the end of the discussion, physical problems, such as where "time" begins, become philosophical problems! Therefore, there are no useless subjects, and each subject is approaching the truth in its own way. The more ways you approach the truth, the more likely you are to explore a more comprehensive truth, which is one of the meanings of life!