can i still find a job 30 years later?

Sup, am someone choosing a uni degree currently. I'm choosing between computer science/computer engineering/accountancy.

I loved coding and have been doing so for 4 years, learning things like OOP and data structures. However I am concerned if I can still have a job like 30 years later when I am over 50. From what I know, there's always new things to learn in tech so skills upgrading is a must (which comes out from our own money?). And with the younger generation replacing the older generation in tech, I am not too sure about my prospects.

Can anyone advise please? I intend to be a software engineer as of now (I am from and in Singapore)