>>13940008It depends on what part of cybersecurity you go into. It's a vast field and very few are able to grasp all of it. OP likely will be best off finding a niche in cybersecurity and becoming very good at that area.
Lots of cybersecurity is a confidence scam but most businesses don't care all that much as long as they have plausible deniability when something bad happens. Big companies are insured and can point to their cybersecurity team as proof that they were not negligent in combating the threat. Most insurers are finding that they initially set rates far too low and made far too few demands on the insured to prove they have proper cybersecurity in place. While insurance rates are rising, the other half is proving difficult as no one really knows how to determine the difference between an effective cybersecurity team and a team that hasn't been tested by real world attackers. Red team simulations can only go so far.
All of this said, in general you will make more as a programmer than you will in cybersecurity. There are exceptions but in general cybersecurity doesn't actually pay very well compared to other areas of IT, especially software development.