That said, to me the purpose of life isn't in work. It's more that I want to feel that the amount of effort I put into work isn't going to negative outcomes. So I find jobs that i believe are a net positive for society, but still only put in my 40ish hours a week and go to find my meaning in my personal life.
I'd say that no matter where you wish to find purpose my advice will be the same. Find a company that you believe is a net good to the world, and then put in however much effort you wish to that company. It does limit the amount of companies you are able to work for, but there are so many openings available for good people in software that you'll probably find plenty of opportunities regardless.