Cybersec pays well earlier than software engineering does, but you meet glass ceilings quite rapidly. Once you get really good at what you do, software engineering is where the real reward is.
Alternatively, if you don't mind focusing on a single product, becoming an expert in any commercial software that costs at least 1m$ to integrate in large companies will land you a high paying salary guaranteed with a tenth of the effort you'd need for software engineering or cybersecurity.