Should I continue investing my career on Magento?

I have been around the Magento ecosystem for nearly a decade. But I’m not sure if I continue investing efforts/time/money towards the platform. Lots of people I know are moving away from Magento.

Should I stay? Should I move elsewhere? Should I dedicate my career towards other platform/ecosystem?

Highly appreciate your thoughts. What makes you stay, what makes you move away. Thank you so much!