This sounds like good advice. I'm also employed at an early-stage startup and enjoy peeking into different areas in order to become proficient enough to be a founder myself at some point.
In contrast, I rather disliked my first student job in a more established company after a year for being too specialised.
Someone mentioned that a pi-shaped knowledge would be a good thing to aim for - I guess especially if they integrate well. I truly enjoy doing both Full-Stack Web Development (leaning towards backend) and Data Science (Python).