Maybe i'm just mentally handicapped in some way but i like to code and solve business problems and so i'm a consultant who codes and solves business problems. I've never thought about if my work is meaningful, it's impact whether good or bad, or worried i'm not pursuing the true purpose of my life. It just doesn't come to mind.
I would advise your wife to try volunteering (for whatever cause she finds important) if she hasn't already. I've started volunteering at a local NGO after switching careers and it's easily my favorite time of the month, gives me lots of energy and peace of mind, wish I could do it more often.
I'm not sure if I'd feel the same if I was work for a bank or something though.
I'm sure it'll work out when I gain more experience. :)
I was a child psychologist (specializing in development and planned to go deeper into social work) and it was/is the biggest passion of my life, so switching to tech feels weird to put it mildly.
IT is fantastic, don't get me wrong, I would not go back.