CS is a good major. There are lots of jobs available. There are many fields of specialization.
But to hedge your bets, it would a good idea to augment your degree with some other field like business, engineering, mechatronics, physics, chemistry, biology / medicine.
These addon minors would enhance your chances of getting a job in more diverse fields. As an example, being a CS major with a medical background might make you more interesting to a medical devices company. CS major with physics or engineering would make you interesting to a aerospace company. CS with biology / chemistry to a pharmaceuticals company.
Pure CS limits you to computer technology or computer services type jobs. Even though these jobs are well paying and plentiful, one has to worry about how AI will affect them.
Basically, always have a backup plan and a backup to your backup plan.