I can only of course share my own experiences, but I’d recommend taking a government cyber role - especially something hands-on. This allowed me to pivot from software development (which I still love and do but just for myself) to cyber.