Software engineering is sort of a trump card in that it looks better than basically any other career on paper, but everyone can't be a software engineer. And while the actuarial field draws from a similar talent pool as software engineering, I think most people who enjoy one wouldn't enjoy the other - the former is much more of a business-y profession. I personally find the work I do as a SWE way less interesting than the work I did as an actuary, even though I'm not big on memorizing formulas.