We have a say in Brazil we use when people are wondering about investing in material wealth or studying: Nobody can take knowledge from you!
In the book "Range: How Generalists Triumph in a Specialized World", David Epstein discuss how people learn and how society praises specialization. To reflect about the trend, he demonstrares through several examples, from athletes to nasa engineers, how having a knowledge range can determine success. Creativity level can be much higher when you have a range of experiences in life. They can be hobbies, your curiosity in the day to day, or what you like to read. Everything you learn can make surprising connections and bring unexpected results.
Learn as much as you can, from the most variety of sources. Career progression and personal development will only be improved when you expand your horizons. And your knowledge will be forever yours.
Super recommend the book!