Generalist vs specialist debate
It is generally perceived that being specialist take you off through the career ladder. However this notion doesn't holds up strongly in the current scenario. There is mass unemployment in the country and those who are already employed are suffering from high level of burnout. People are being kinda 'forced' by the system to work.
Humans aptitude, attitude and feelings are dynamic in nature. One should have a mindset of being jack of all trades at least early in the career (till 36yo at least). David Epstein in his book 'Range' advocated for delayed specialisation. Unfortunately the Indian education system designed as such that it tunnels the students into forced specialisation too early in the age. (Thankfully New Education Policy -2020 introduced multidisciplinary education in higher studies)
Being generalist has it's own advantage, like it helps you discover what field you actually have talent at. It helps you to broaden up your thought process helping you figuring out what actually it takes to climb up the career ladder. It broadens up your cognitive bandwidth helping you in developing holistic approach in solving your problems even in your current domain.
No segment works in isolation in this era globalised world. Economy is interlinked with geopolitics. Geopolitics is interlinked with technology. Technology is interlinked with popular culture. Nothing works in isolation. It's a fool's paradise to think being specialised in one domain helps you in your career growth.