@Oylok,
Sounds like you've got an interesting background. I had considered Math for a degree but Discrete Math did me in.
And -- heh -- knowing what you want to be when you grow up is, at least I think, something that it can take decades to figure out. About the smartest thing I realized at age 18 (30 years ago) was that I probably had no idea what would make and keep me happy for 30 minutes let alone 30 years or more.
I've changed jobs/careers several times. New challenges are fun, plus IT keeps changing and, as a result, what is a viable career path now may not have existed a few years ago.
It's interesting, to me, that the OP values above average earning power as a measure of success when, bottom line, that can be an abominable way to measure success. It is objective in the sense that bills can be paid and a roof can be kept over one's head. It's nice to be comfortable -- I won't deny that. But people can be comfortable and quite happy without making the maximum. A legal career, if I had stuck with it, would have given me a far more lucrative career -- and a far more wealthy lifestyle, with better trips, my house fixed up better and faster, better clothes, etc.
Except I would have probably put a bullet in my brain by age 35. I was miserably unhappy at age 27 in that job, and am thrilled to be out of it.